feat: skip discord authorization screen (#949)
This commit is contained in:
parent
e1f8bf59f5
commit
e184fed8ee
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user