feat: skip discord authorization screen (#949)

This commit is contained in:
Tiemen authored and Nicolas Giard committed 2019-08-04 15:56:46 -04:00
1 parent e1f8bf59f5
commit e184fed8ee
1 file changed
+1
@@ -13,6 +13,7 @@ module.exports = {
new DiscordStrategy({
clientID: conf.clientId,
clientSecret: conf.clientSecret,
authorizationURL: 'https://discordapp.com/api/oauth2/authorize?prompt=none',
callbackURL: conf.callbackURL,
scope: 'identify email'
}, async (accessToken, refreshToken, profile, cb) => {