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

[PC-477] 리프레시 토큰 및 헬스체크 기능 추가 #43

Merged
merged 8 commits into from
Feb 7, 2025

Conversation

devchlee12
Copy link
Member

@devchlee12 devchlee12 commented Feb 5, 2025

🔗 관련 이슈

PC-477

✨ 작업 내용

  • 리프레시 토큰 기능 구현
  • 토큰 생성 로직 리팩토링
  • 핼스체크 API 추가

✅ 체크리스트

  • 코드가 정상적으로 컴파일되나요?
  • 테스트 코드를 통과했나요?
  • merge할 브랜치의 위치를 확인했나요?
  • Label을 지정했나요?

🎃 새롭게 알게된 사항

📋 참고 사항

@devchlee12 devchlee12 self-assigned this Feb 5, 2025
@devchlee12 devchlee12 requested a review from Lujaec February 5, 2025 14:37
Copy link

github-actions bot commented Feb 5, 2025

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 016824a.

♻️ This comment has been updated with latest results.

} catch (Exception e) {
throw new ApplicationException(SecurityErrorCode.EXPIRED_ACCESS_TOKEN);
}
}
Copy link
Member

Choose a reason for hiding this comment

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

healCheck 하는 대상은

엑세스 토큰만 가능한 건가요, 아니면 엑세스 토큰과 리프레쉬 토큰 모두 가능한 건가요 ?

컨트롤러부터의 흐름은 2가지 토큰에 대해 가능한거 같은데, 던지는 에러를 보면 아닌것 같습니다 ..

앞단부터 명확하게 토큰을 명시하거나, 던지는 에러코드를 수정해야할 것 같습니다

Copy link
Member Author

Choose a reason for hiding this comment

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

음 헬스체크 API는 액세스토큰 헬스체크를 위한 것이긴 한데요.
이왕 이렇게 된거 둘다 가능하게 에러코드 바꾸겠습니다.

@devchlee12
Copy link
Member Author

수정 완료했습니다

@devchlee12 devchlee12 requested a review from Lujaec February 6, 2025 14:56
@devchlee12 devchlee12 merged commit 6855b7b into develope Feb 7, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants