Get credentials
1
Create an application
Go to the Discord Developer Portal and click New Application. Give it a name.Configuration
lib/theauth.ts
Scopes
Default scopes:identify email. Scopes you pass are added on top of the defaults.
User data returned
Discord email addresses are verified before the account can use OAuth. You will always receive a verified email when the
email scope is requested.Related
OAuth overview
Generic OAuth 2.0 setup and account linking behavior.
Slack
Sign in with Slack using OpenID Connect.
GitHub
Another developer-focused OAuth provider.
Authentication overview
All sign-in methods available in theAuth.