Google sign in - Unable to choose a different account whenever user signs in #2891
-
Problem This issue does not appear in the nextauth demo page in:https://next-auth-example.vercel.app/ Which makes me believe that it's my code, or it might be the version of my next-auth? Here's the image of what the 'account picker 'looks like: Version
Sign out functionality
Sign In Functionality (in /signin.tsx)
[...nextauth].tsx
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Federated logout is not currently supported, meaning that logging out of the app only logs the app out, not your provider. Not all providers can support that either, as far as I am aware. See #836. You can force your provider to always show the account chooser though. Check out the |
Beta Was this translation helpful? Give feedback.
Federated logout is not currently supported, meaning that logging out of the app only logs the app out, not your provider. Not all providers can support that either, as far as I am aware. See #836.
You can force your provider to always show the account chooser though. Check out the
prompt=login
authorization param:https://www.oauth.com/oauth2-servers/authorization/requiring-user-login