Browse Source

feat: skip discord authorization screen (#949)

pull/940/head
Tiemen 5 years ago
committed by Nicolas Giard
parent
commit
e184fed8ee
1 changed files with 1 additions and 0 deletions
  1. 1
      server/modules/authentication/discord/authentication.js

1
server/modules/authentication/discord/authentication.js

@ -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) => {

Loading…
Cancel
Save