Cookie not cleared after logout
nimithar opened this issue · 1 comments
nimithar commented
Checklist
- The issue can be reproduced in the Auth0.Android sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
The docs mention that calling WebAuthProvider.logout() would remove the cookie set by the browser at authentication time, but after logging out, I am able to login without having to re-enter my credentials for a few minutes after logging out.
Reproduction
- Login via SSO -> redirected to the IdP -> enter user credentials -> logged in
- Logout
- Login via SSO -> user is logged into the app without having to re-enter credentials
Additional context
No response
Auth0.Android version
2.10.2
Android version(s)
13.6
poovamraj commented
@nimithar Please check out the documentation on logging out from IdPs here - https://auth0.com/docs/authenticate/login/logout/log-users-out-of-idps
You have to pass the federated
parameter and the logout is supported only by select IdPs. Hope this helps. We will close this issue now but feel free to comment here and we can reopen this issue if required.