Reputation: 43
I need help in clearing the user session in an Auth0 flutter app.
The problem is I have gone through the necessary procedures but whenever I log out from the app and log in again, I'm unable to enter the credentials to log me back into the app. It just logs me in as if the user session has been stored somewhere even after calling the secureStorage.deleteAll()
function. I added the login prompt but the problem still persists.
Any help will be deeply appreciated
EDIT...
I'm using flutter_secure_storage
and flutter_appauth
packages
Upvotes: 0
Views: 1042
Reputation: 8300
Clearing the application session is not enough, logout also from Auth0.
See step 2. Auth0 Session Layer for details.
Upvotes: 1