Closed
Description
Describe the bug
When a user first logs in using auth0, they are redirected correctly to auth0's login page and redirected back and authenticated as expected. If the user logs out, then clicks on login again, next-auth
doesn't redirect the user to login page again; it automatically logs the user in.
This can be reproduced on the example application
Steps to reproduce
- In a new incognito window navigate to https://next-auth-example.now.sh
- Login using
auth0
- When navigated back to https://next-auth-example.now.sh and authenticated, click on the sign out button.
- Once signed out, click on
Sign In
again (The user is not sent to the login page)
Expected behavior
The user is redirected to the login page whenever they click on sign in.
Metadata
Metadata
Assignees
Labels
No labels