You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Using the standard boiler plate of getting Auth running.
Specifically to bring up the CustomTab page:
return new OAuth2Authenticator(
_authConfig.ClientId,
null,
string.Join(" ", AuthConfig.Scopes),
new Uri(_authConfig.AuthServerBaseUrl),
new Uri(_authConfig.RedirectUri, UriKind.Absolute),
new Uri(_authConfig.AccessTokenServerBaseUrl),
null,
false)
{
AllowCancel = true,
ClearCookiesBeforeLogin = true,
};
Expected behaviour
After authentication is successful, and you have navigated to a new Activity, pressing back should not show the CustomTab with the login page in it.
Actual behaviour
When you have finished authenticating and after Authenticator.OnPageLoading is invoked in your CustomInterceptorActivity, bringing up a new Activity with intent options ClearTop does not remove the CustomTab instance (the view that shows your login page), i.e. when you are in the next activity that you show, pressing back goes back to this CustomTab
Feature description
Write a description of the feature. How should it work? How should it look?
Include some graphics if this could help!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Xamarin.Auth Issue
Version
Steps to reproduce
Using the standard boiler plate of getting Auth running.
Specifically to bring up the CustomTab page:
return new OAuth2Authenticator(
_authConfig.ClientId,
null,
string.Join(" ", AuthConfig.Scopes),
new Uri(_authConfig.AuthServerBaseUrl),
new Uri(_authConfig.RedirectUri, UriKind.Absolute),
new Uri(_authConfig.AccessTokenServerBaseUrl),
null,
false)
{
AllowCancel = true,
ClearCookiesBeforeLogin = true,
};
Expected behaviour
After authentication is successful, and you have navigated to a new Activity, pressing back should not show the CustomTab with the login page in it.
Actual behaviour
When you have finished authenticating and after Authenticator.OnPageLoading is invoked in your CustomInterceptorActivity, bringing up a new Activity with intent options ClearTop does not remove the CustomTab instance (the view that shows your login page), i.e. when you are in the next activity that you show, pressing back goes back to this CustomTab
Feature description
Write a description of the feature. How should it work? How should it look?
Include some graphics if this could help!
The text was updated successfully, but these errors were encountered: