Commit e184fed8 authored by Tiemen's avatar Tiemen Committed by Nicolas Giard

feat: skip discord authorization screen (#949)

parent e1f8bf59
...@@ -13,6 +13,7 @@ module.exports = { ...@@ -13,6 +13,7 @@ module.exports = {
new DiscordStrategy({ new DiscordStrategy({
clientID: conf.clientId, clientID: conf.clientId,
clientSecret: conf.clientSecret, clientSecret: conf.clientSecret,
authorizationURL: 'https://discordapp.com/api/oauth2/authorize?prompt=none',
callbackURL: conf.callbackURL, callbackURL: conf.callbackURL,
scope: 'identify email' scope: 'identify email'
}, async (accessToken, refreshToken, profile, cb) => { }, async (accessToken, refreshToken, profile, cb) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment