From e184fed8ee907040e534fad8a0480e2bd57e5b31 Mon Sep 17 00:00:00 2001 From: Tiemen Date: Sun, 4 Aug 2019 21:56:46 +0200 Subject: [PATCH] feat: skip discord authorization screen (#949) --- server/modules/authentication/discord/authentication.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/modules/authentication/discord/authentication.js b/server/modules/authentication/discord/authentication.js index 7295679e..dbfcc3d1 100644 --- a/server/modules/authentication/discord/authentication.js +++ b/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) => {