토큰발급 오타수정.
This commit is contained in:
@@ -160,7 +160,7 @@ public class KjbMGOAuth2Controller {
|
|||||||
"Invalid Mandatory Field {client_secret}");
|
"Invalid Mandatory Field {client_secret}");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (StringUtils.equals(clientDetails.getClientSecret(), clientSecret)) {
|
if (!StringUtils.equals(clientDetails.getClientSecret(), clientSecret)) {
|
||||||
throw new JwtAuthException(
|
throw new JwtAuthException(
|
||||||
String.format("%d%s%s", HttpStatus.UNAUTHORIZED.value(), SERVICE_CODE_ACCESS_TOKEN, "00"),
|
String.format("%d%s%s", HttpStatus.UNAUTHORIZED.value(), SERVICE_CODE_ACCESS_TOKEN, "00"),
|
||||||
"Unauthorized. [Bad client credentials(Client Secret is not match)]");
|
"Unauthorized. [Bad client credentials(Client Secret is not match)]");
|
||||||
|
|||||||
Reference in New Issue
Block a user