-
Notifications
You must be signed in to change notification settings - Fork 0
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
[PC-477] 리프레시 토큰 및 헬스체크 기능 추가 #43
[PC-477] 리프레시 토큰 및 헬스체크 기능 추가 #43
Conversation
} catch (Exception e) { | ||
throw new ApplicationException(SecurityErrorCode.EXPIRED_ACCESS_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.
healCheck 하는 대상은
엑세스 토큰만 가능한 건가요, 아니면 엑세스 토큰과 리프레쉬 토큰 모두 가능한 건가요 ?
컨트롤러부터의 흐름은 2가지 토큰에 대해 가능한거 같은데, 던지는 에러를 보면 아닌것 같습니다 ..
앞단부터 명확하게 토큰을 명시하거나, 던지는 에러코드를 수정해야할 것 같습니다
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.
음 헬스체크 API는 액세스토큰 헬스체크를 위한 것이긴 한데요.
이왕 이렇게 된거 둘다 가능하게 에러코드 바꾸겠습니다.
api/src/main/java/org/yapp/domain/auth/presentation/dto/request/RefreshTokenRequest.java
Show resolved
Hide resolved
api/src/main/java/org/yapp/domain/auth/presentation/dto/response/RefreshTokenResponse.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/yapp/domain/auth/application/token/RefreshTokenService.java
Outdated
Show resolved
Hide resolved
수정 완료했습니다 |
🔗 관련 이슈
PC-477
✨ 작업 내용
✅ 체크리스트
🎃 새롭게 알게된 사항
📋 참고 사항