mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
fix: add baseUrl in passport oauth
This commit is contained in:
1 parent
a69f4960b2
commit
33582a4827
6 files changed
+10
-3
No files matched your search
@@ -43,7 +43,7 @@ export default enabled
|
||||
{
|
||||
clientID: config.google.clientID,
|
||||
clientSecret: config.google.clientSecret,
|
||||
callbackURL: '/api/v1/auth/google/callback',
|
||||
callbackURL: `${config.baseUrl}/api/v1/auth/google/callback`,
|
||||
scope: ['profile', 'email'],
|
||||
},
|
||||
verify
|
||||
|
||||
Reference in new issue
Block a user