Skip to content

Commit a057fb8

Browse files
committed
FIX : 카카오 소셜 로그인 redirect 코드 수정
1 parent de52e8c commit a057fb8

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
@@ -54,7 +54,7 @@ export const kakaoStrategy = new KakaoStrategy(
5454
{
5555
clientID: process.env.PASSPORT_KAKAO_CLIENT_ID,
5656
clientSecret: process.env.PASSPORT_KAKAO_CLIENT_SECRET,
57-
callbackURL: "http://localhost:3000/api/users/oauth2/callback/kakao",
57+
callbackURL: `${process.env.BASE_URL}/api/users/oauth2/callback/google`,
5858
scope: undefined,
5959
state: true,
6060
},

0 commit comments

Comments
 (0)