토큰발급 오타수정.

This commit is contained in:
Yunsam.Eo
2026-01-02 13:49:28 +09:00
parent cebb12c511
commit 1057adf4ef
@@ -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)]");