From 1057adf4ef98d6f78d8f6d35c7053c1b275337b9 Mon Sep 17 00:00:00 2001 From: "Yunsam.Eo" Date: Fri, 2 Jan 2026 13:49:28 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=A0=ED=81=B0=EB=B0=9C=EA=B8=89=20?= =?UTF-8?q?=EC=98=A4=ED=83=80=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eactive/eai/authserver/custom/KjbMGOAuth2Controller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java index 9f376ea..b151ac3 100644 --- a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java +++ b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java @@ -160,7 +160,7 @@ public class KjbMGOAuth2Controller { "Invalid Mandatory Field {client_secret}"); } - if (StringUtils.equals(clientDetails.getClientSecret(), clientSecret)) { + if (!StringUtils.equals(clientDetails.getClientSecret(), clientSecret)) { throw new JwtAuthException( String.format("%d%s%s", HttpStatus.UNAUTHORIZED.value(), SERVICE_CODE_ACCESS_TOKEN, "00"), "Unauthorized. [Bad client credentials(Client Secret is not match)]");