Skip to content
Back

Google consent screen is not showing after first time.

  • 0
  • 2
  • Auth
  • Web
devAshutosh_karn
10 Oct, 2025, 04:02

Hey Appwrite team! πŸ‘‹ I'm working on a Next.js app with Google OAuth integration using Appwrite, and I've run into a common UX scenario that could be improved. Current Issue: When users logout and try to login again, Google automatically logs them in with the previous account without showing the consent/account selection screen. This is Google's default behavior, but sometimes users want to switch accounts. Desired Solution: It would be great if account.createOAuth2Session() could support the prompt parameter from OAuth2 spec, specifically: account.createOAuth2Session({ provider: OAuthProvider.Google, success: 'success-url', failure: 'failure-url', scopes: ['email', 'profile'], prompt: 'select_account' // πŸ‘ˆ This would force Google to show account selection }); OAuth2 Reference: https://developers.google.com/identity/protocols/oauth2/openid-connect#prompt Would love to see this feature in a future release! πŸš€ Thanks for the amazing platform! πŸ™

TL;DR
Google consent screen is not showing after the first time. The user needs help from specific individuals.
10 Oct, 2025, 11:03

<@&1319717958645452800>

10 Oct, 2025, 11:05

<@564158268319203348>

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more