Disable Auto Login Right After Logout

In our apps, when we try to login right after logging out, Auth0 reminds ID, Password, or Google Account to login and never ask them.
We would like to disable this auto login setting and ask to input ID, Password, or select Google Account every time we try to login.

I wonder this setting could be managed by changing the inactivity timeout near to 0 sec, however the inactivity timeout can’t be set less than 1 min in dashboard.

How can we realize this setting?

thanks.

Hi @jbr.system.team

This page should help:

Make sure you call Auth0’s logout endpoint when logging out:

Google manages their own session, of course, and you probably do not want to mess with that. If you do, there’s a parameter that you can add to /v2/logout that might work (but might not, some IDPs ignore it).

John

1 Like

Hi @john.gateley

I’m facing a similar issue to what our users have reported. After logging out, when clicking on “login” again, the system automatically logs in without displaying the login screen. This has caused some difficulties, especially when users want to switch accounts, particularly when they have multiple accounts in our system.

This behavior also affects the “forgot password” functionality since users can’t access that option when they are automatically redirected to their accounts after logging out.

To give you an idea of the ideal scenario, the example from Wix is very relevant. There, when you click on “logout” and then “login” again, the login screen is displayed, allowing the user to choose which account they want to access. This greatly facilitates switching accounts and password recovery if needed.

The “Non-Persistent Session” option is active, but the issue persists.

We need to address this problem to enhance the user experience and ensure they can easily and intuitively switch accounts and access the “forgot password” functionality.

1 Like

authorizationParams: {
prompt: “select_account”,
},

add this to your handleLogin function