Skip to content

Discord OAuth

Andre-John Mas edited this page Dec 12, 2021 · 1 revision

Configuration Discord, which is based on OAuth2. For additional Discord specific values, please see their documentation.

discord: {
  clientId: '',
  redirectUri: '',
  name: 'discord',
  url: '/auth/discord',
  authorizationEndpoint: 'https://discord.com/api/oauth2/authorize',
  requiredUrlParams: ['display', 'scope'],
  scope: [],
  scopeDelimiter: ',',
  display: 'popup',
  oauthType: '2.0',
  popupOptions: { width: 580, height: 700 }
}

References

Clone this wiki locally