We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4ff576 commit e774d6bCopy full SHA for e774d6b
README.md
@@ -59,6 +59,7 @@ You can choose some default setup to assign to `auth` option.
59
- `MICROSOFT_CONFIGURATION`
60
- `VKONTAKTE_CONFIGURATION`
61
- `SPOTIFY_CONFIGURATION`
62
+- `DISCORD_CONFIGURATION`
63
64
### Custom configuration
65
index.js
@@ -192,4 +192,11 @@ oauthPlugin.SPOTIFY_CONFIGURATION = {
192
tokenPath: '/api/token'
193
}
194
195
+oauthPlugin.DISCORD_CONFIGURATION = {
196
+ authorizeHost: 'https://discord.com',
197
+ authorizePath: '/api/oauth2/authorize',
198
+ tokenHost: 'https://discord.com',
199
+ tokenPath: '/api/oauth2/token'
200
+}
201
+
202
module.exports = oauthPlugin
0 commit comments