Skip to content

Commit 1fe2575

Browse files
committed
FIX : 구글 소셜 로그인 redirect 수정
1 parent 797eeb1 commit 1fe2575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const googleStrategy = new GoogleStrategy(
1111
{
1212
clientID: process.env.PASSPORT_GOOGLE_CLIENT_ID,
1313
clientSecret: process.env.PASSPORT_GOOGLE_CLIENT_SECRET,
14-
callbackURL: "http://localhost:3000/api/users/oauth2/callback/google",
14+
callbackURL: `${process.env.BASE_URL}/api/users/oauth2/callback/google`,
1515
scope: ["email", "profile"],
1616
state: true,
1717
},

0 commit comments

Comments
 (0)