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
Unexpected login/logout Behaviour #3
Comments
Looks like it is an issue with cookies - when you login the access tokens are stored in the keychain and cookies as per Microsoft's design. These cookies are never cleared when the user logs out. From the name of this bridging function it looks like you may have wanted to clear the cookies at some stage?
Currently that function only deals with the keychain cache... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've currently setup the following methods to test out the library:
Expected Behaviour
login()
prompts the user for credentials and returns user details.getToken()
returns user details by accessing the IOS keychain.logout()
returns true.getToken()
is unable to retrieve user details from the keychain.login()
prompts user for credentials again.Actual behaviour
Login()
does not prompt user again for credentials and returns user details.I'm very confused as to how this is happening. Is there a chance that the token is being cached in the webviews cookies and not being cleared by
logout()
?The text was updated successfully, but these errors were encountered: