Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NativeSafariAuthenticator IOS Logout #80

Open
nemaroller opened this issue Oct 12, 2018 · 1 comment
Open

NativeSafariAuthenticator IOS Logout #80

nemaroller opened this issue Oct 12, 2018 · 1 comment

Comments

@nemaroller
Copy link

nemaroller commented Oct 12, 2018

In Nuget package 1.0.49, it seems the Logout using the IOS NativeSafariAuthenticator doesn't clear the cookies in the native browser used for authentication for the logged in user. Upon subsequently initiating the authentication sign in, it seems to use the previous user token, and immediately signs them in without invoking the logins screen from the third-party authentication service.

However, if I merely switch to the WebAuthenticator, it shows the login screen as expected:

screen shot 2018-10-12 at 3 43 22 pm

I noticed there was a bug for the Facebook api using the native authenticator ( #46) which perhaps is similar to this issue. This is for authenticating against an Active Directory service.

As an aside, this bug report for a similar component seems to state that this is an IOS issue - meaning there is perhaps no way to clear the cookies which are stored by the safari browser? (unless the user manually clears the cookies from the Settings > Safari > Clear data...): xamarin/Xamarin.Auth#204. If I open the settings app and clear the safari data, then all is well.

@nemaroller nemaroller changed the title NativeAuthenticator IOS Logout NativeSafariAuthenticator IOS Logout Oct 12, 2018
@samt1925
Copy link

Did you solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants