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

[Refactor] 토큰 관리 방식 변경 #34

Merged
merged 6 commits into from
Sep 29, 2024

Conversation

junseoplee
Copy link
Collaborator

💡 연관된 이슈

close #33

📝 작업 내용

UserReader 관련 로직 변경
리프레시 토큰은 set-cookie 헤더에 넣어 보낸다
리프레시 토큰은 서버에서 관리하도록 변경

💬 리뷰 요구 사항

@junseoplee junseoplee added the 🔨 Refactor 코드 리팩토링 label Sep 29, 2024
@junseoplee junseoplee self-assigned this Sep 29, 2024
Comment on lines 40 to 42
if (request.getCookies() == null) {
return Optional.empty();
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

request.getCookies()가 null이라면 for문을 순환하지 않아서 불필요한 부분인 것 같습니다.

Copy link
Collaborator

@yongbin97 yongbin97 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

Copy link
Collaborator

@yongbin97 yongbin97 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~

@junseoplee junseoplee merged commit 2812db7 into develop Sep 29, 2024
1 check passed
@junseoplee junseoplee deleted the refactor/33-token-response branch September 29, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 Refactor 코드 리팩토링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactor] 토큰 관리 방식 변경
2 participants