
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! π
Recommended threads
- account.get on api route
How can i get the user info on api routes? on cliennt side we can call account.get() which maybe reads cookies though doucment object. But i want to get to get...
- SSR FOR REACT VITE not next.js.
Good day all. Please I'd like to know if appwrite allows SSR for react app not vite. I checked the docs but I don't know I didn't see anything that specifies if...
- I am Trying to create my own SMS gateway...
i am using appwrite 1.2.1, where can i edit or add new customSms.php which folder should i check ? then how can i manage to edit appwrite orginal code
