Skip to content

Commit

Permalink
#268 [fix] end point 수정
Browse files Browse the repository at this point in the history
JwtAuthenticationFilter 내부의
!uri.contains("auth")가 false로 나와야
access token 검증 로직에 들어가지 않기 때문에
end point 수정
  • Loading branch information
KWY0218 committed Jun 16, 2024
1 parent 3bb430c commit a786cae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class AuthApiController implements AuthApi {
private final JwtTokenProvider jwtTokenProvider;

@Override
@GetMapping("/api/v1/authorize")
@GetMapping("/api/v1/auth/authorize")
public ResponseEntity<BaseResponse<?>> authorize(
@RequestParam String type,
@RequestParam String code,
Expand All @@ -68,7 +68,7 @@ public ResponseEntity<BaseResponse<?>> authorize(

@Override
@PostMapping(
path = "/api/v1/token",
path = "/api/v1/auth/token",
consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE
)
public ResponseEntity<BaseResponse<?>> token(AccessTokenRequest accessTokenRequest) {
Expand Down

0 comments on commit a786cae

Please sign in to comment.