-
Notifications
You must be signed in to change notification settings - Fork 2
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: Refresh Token 추가 #128
Conversation
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.
최종제출까지 꺾이지 않는 열정 최고입니다!
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder | ||
@Getter |
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.
@Modifying | ||
@Transactional | ||
@Query("update Token t set t.expired = true, t.revoked = true where t.refreshToken = :token") | ||
void setExpiredAndRevoked(String 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.
영속성 컨텍스트 이용하지 않고 JPQL 쓰신 이유가 있을까요? 궁금합니다.
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.
마지막까지 고생많으셨어요!
테스트 코드는 모두 통과하였으나, 로컬 환경에서 토큰 조회 시 "Refresh Token을 찾을 수 없습니다."라는 오류가 발생하고 있습니다.
로컬 환경에서 발생하는 문제를 해결하기 위해 여러 가지 방법을 시도해보았으나, 아직 문제는 해결되지 않았습니다. 이 PR을 통해 다른 환경에서의 테스트 결과를 확인하고, 다른 팀원들의 피드백을 받고자 합니다.