Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth2 improvements #507

Closed
eartharoid opened this issue Dec 22, 2023 · 0 comments
Closed

OAuth2 improvements #507

eartharoid opened this issue Dec 22, 2023 · 0 comments
Labels
enhancement Improvement for an existing feature
Milestone

Comments

@eartharoid
Copy link
Member

Use &prompt=none

https://discord.com/developers/docs/topics/oauth2#oauth2

prompt controls how the authorization flow handles existing authorizations. If a user has previously authorized your application with the requested scopes and prompt is set to consent, it will request them to reapprove their authorization. If set to none, it will skip the authorization screen and redirect them back to your redirect URI without requesting their authorization. For passthrough scopes, like bot and webhook.incoming, authorization is always required.

@eartharoid eartharoid added this to the v4.2 milestone Dec 22, 2023
@eartharoid eartharoid added the enhancement Improvement for an existing feature label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement for an existing feature
Projects
Status: Complete
Development

No branches or pull requests

1 participant