From 8ad047574728963823c083a87d30650c7beb0f26 Mon Sep 17 00:00:00 2001 From: Eddy <149242983+Jindongleee@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:58:01 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20sendRedirect=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95=20(#65)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gather_back_end/util/jwt/handler/CustomSuccessHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java b/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java index 78487d6..e659114 100644 --- a/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java +++ b/src/main/java/org/example/gather_back_end/util/jwt/handler/CustomSuccessHandler.java @@ -37,7 +37,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo String token = jwtUtil.createJwt(username, role, 60 * 60 * 1000L); - response.sendRedirect("https://www.to-gather.info?code=" + "Bearer " + token); + response.sendRedirect("https://www.to-gather.info/redirect?code=" + "Bearer " + token); } }