File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/main/java/PodoeMarket/podoemarket/user/controller Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ public void callback(@PathVariable(name = "socialLoginType") SocialLoginType soc
5353
5454 // 프론트로 리디렉트
5555 response .sendRedirect (
56- "http://localhost:3000/auth/callback" +
57- // "https://www.podo-store.com/auth/callback" +
56+ // "http://localhost:3000/auth/callback" +
57+ "https://www.podo-store.com/auth/callback" +
5858 "?result=LOGIN" +
5959 "&accessToken=" + token .getAccessToken () +
6060 "&refreshToken=" + token .getRefreshToken () +
@@ -68,15 +68,15 @@ public void callback(@PathVariable(name = "socialLoginType") SocialLoginType soc
6868 String tempCode = tempAuthService .store (oauthUser );
6969
7070 response .sendRedirect (
71- "http://localhost:3000/auth/callback" +
72- // "https://www.podo-store.com/auth/callback" +
71+ // "http://localhost:3000/auth/callback" +
72+ "https://www.podo-store.com/auth/callback" +
7373 "?result=REQUIRE_TERMS" +
7474 "&tempCode=" + tempCode
7575 );
7676 } catch (Exception e ) {
7777 e .printStackTrace ();
78- response .sendRedirect ("http://localhost:3000/auth/callback?error=" + URLEncoder .encode (e .getMessage (), StandardCharsets .UTF_8 ));
79- // response.sendRedirect("https://www.podo-store.com/auth/callback?error=" + URLEncoder.encode(e.getMessage(), StandardCharsets.UTF_8));
78+ // response.sendRedirect("http://localhost:3000/auth/callback?error=" + URLEncoder.encode(e.getMessage(), StandardCharsets.UTF_8));
79+ response .sendRedirect ("https://www.podo-store.com/auth/callback?error=" + URLEncoder .encode (e .getMessage (), StandardCharsets .UTF_8 ));
8080 }
8181 }
8282
You can’t perform that action at this time.
0 commit comments