Get credentials
1
Create an application
Go to the Discord Developer Portal and click New Application. Give it a name.2
3
Copy credentials
From OAuth2 > General, copy the Client ID and Client Secret.Configuration
lib/kavach.ts
Scopes
Default scopes:identify email
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.