-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT: 리프레시 토큰 구현 #84
FEAT: 리프레시 토큰 구현 #84
Conversation
private final UserService userService; | ||
|
||
@PostMapping("/refresh") | ||
public ResponseEntity<TokenResponseDTO> refreshToken(@RequestBody RefreshTokenRequestDTO refreshTokenRequestDTO){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 여기에서 refreshTokenRequestDTO의 멤버인 refreshToken이 기존의 토큰을 가리키는 것이 맞나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제가 질문을 잘 이해 못했는데 기존 access토큰 하나만 발급하던 로직에서 이제 access token과 refresh token둘 다 발급합니다. 여기서는 카카오 refresh token이 아닌 자체 jwt refresh token입니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 이해했습니다!!
loginUser 로직 변경과 리프레시 토큰구현을 완료하였습니다
또한 유저정도 update api도 구현 하였습니다
블랙리스트 기능은 개발중입니다