Skip to content

Commit e82c9ec

Browse files
committed
fix: update Google token revocation setting - fix 400 err in logs
1 parent ed7d4a4 commit e82c9ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/passport.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,9 @@ refresh.use('discord', discordStrategyConfig);
857857
const providerRevocationConfig = {
858858
google: {
859859
revokeURL: 'https://oauth2.googleapis.com/revoke',
860-
authMethod: 'token_only',
860+
clientId: process.env.GOOGLE_CLIENT_ID,
861+
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
862+
authMethod: 'basic',
861863
},
862864
facebook: {
863865
revokeURL: 'https://graph.facebook.com/me/permissions',

0 commit comments

Comments
 (0)