[GH-ISSUE #739] Discord login always prompts for authorization #17034

Closed
opened 2026-04-15 14:58:46 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @nicksheffield on GitHub (Dec 3, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/739

Hey guys, I love this library and I'm really excited to use this library in prod.

I've noticed when using Discord as a social login provider, it always prompts the user to authorize.
It seems like this shouldn't be the case, since I've noticed at least the Github one doesn't do this after the first time.

In Discord's own docs they mention a "prompt" url parameter that can be used to control this behaviour: https://discord.com/developers/docs/topics/oauth2#authorization-code-grant

It's not mentioned on that page, but the prompt value seems to default to "consent".

Probably makes sense to set it to "none", at least by default.

Thanks

Originally created by @nicksheffield on GitHub (Dec 3, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/739 Hey guys, I love this library and I'm really excited to use this library in prod. I've noticed when using Discord as a social login provider, it always prompts the user to authorize. It seems like this shouldn't be the case, since I've noticed at least the Github one doesn't do this after the first time. In Discord's own docs they mention a "prompt" url parameter that can be used to control this behaviour: https://discord.com/developers/docs/topics/oauth2#authorization-code-grant It's not mentioned on that page, but the prompt value seems to default to "consent". Probably makes sense to set it to "none", at least by default. Thanks
GiteaMirror added the locked label 2026-04-15 14:58:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#17034