Skip to content

Commit

Permalink
feat: skip discord authorization screen (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaTiemsz authored and NGPixel committed Aug 4, 2019
1 parent e1f8bf5 commit e184fed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/modules/authentication/discord/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit e184fed

Please sign in to comment.