diff --git a/src/main/java/kr/where/backend/auth/oauth2login/OAuth2FailureHandler.java b/src/main/java/kr/where/backend/auth/oauth2login/OAuth2FailureHandler.java index 5f0ee37b..693b7869 100644 --- a/src/main/java/kr/where/backend/auth/oauth2login/OAuth2FailureHandler.java +++ b/src/main/java/kr/where/backend/auth/oauth2login/OAuth2FailureHandler.java @@ -18,6 +18,6 @@ public class OAuth2FailureHandler extends SimpleUrlAuthenticationFailureHandler public void onAuthenticationFailure( HttpServletRequest request, HttpServletResponse response, AuthenticationException exception) throws IOException, ServletException { - response.sendRedirect("https://dev.where42.kr/login-fail"); + response.sendRedirect("https://where42.kr/login-fail"); } } diff --git a/src/main/java/kr/where/backend/auth/oauth2login/OAuth2SuccessHandler.java b/src/main/java/kr/where/backend/auth/oauth2login/OAuth2SuccessHandler.java index c1f8fc90..036b957a 100644 --- a/src/main/java/kr/where/backend/auth/oauth2login/OAuth2SuccessHandler.java +++ b/src/main/java/kr/where/backend/auth/oauth2login/OAuth2SuccessHandler.java @@ -64,7 +64,7 @@ public void onAuthenticationSuccess(final HttpServletRequest request, final Http request, response, UriComponentsBuilder - .fromUriString("https://dev.where42.kr") + .fromUriString("https://where42.kr") .queryParam("intraId", member.getIntraId()) .queryParam("agreement", member.isAgree()) .build()