Learn why you shouldn’t build your own auth, and what happened to dozens of teams that didBack to Explorer

Discord OAuth endpoints

Discord OAuth endpoints and related development resources

Discord authorization endpoint

https://discord.com/oauth2/authorize
The endpoint to redirect users to in order to grant your application access to their account.

Discord token endpoint

https://discord.com/api/oauth2/token
The endpoint to exchange the authorization code or refresh token for an access token and a refresh token.

Discord revocation endpoint

https://discord.com/api/oauth2/token/revoke
The endpoint used to invalidate access tokens or refresh tokens before their expiration time, typically used when a user logs out or revokes application access.

Discord OAuth documentation and resources