Skip to content
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

Merged
merged 14 commits into from
Nov 6, 2024
Merged

FEAT: 리프레시 토큰 구현 #84

merged 14 commits into from
Nov 6, 2024

Conversation

youcastle03
Copy link
Contributor

@youcastle03 youcastle03 commented Nov 6, 2024

loginUser 로직 변경과 리프레시 토큰구현을 완료하였습니다
또한 유저정도 update api도 구현 하였습니다
블랙리스트 기능은 개발중입니다

private final UserService userService;

@PostMapping("/refresh")
public ResponseEntity<TokenResponseDTO> refreshToken(@RequestBody RefreshTokenRequestDTO refreshTokenRequestDTO){
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 여기에서 refreshTokenRequestDTO의 멤버인 refreshToken이 기존의 토큰을 가리키는 것이 맞나요?

Copy link
Contributor Author

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입니다

Copy link

@humpose humpose Nov 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 이해했습니다!!

humpose
humpose previously approved these changes Nov 6, 2024
@jjh4450 jjh4450 merged commit 4c9bc67 into kakao-tech-campus-2nd-step3:weekly/10 Nov 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants