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

[Fix] 리프레시 토큰 발급 로직 오류 수정 #73

Open
nahyeon99 opened this issue May 5, 2024 · 0 comments
Open

[Fix] 리프레시 토큰 발급 로직 오류 수정 #73

nahyeon99 opened this issue May 5, 2024 · 0 comments
Assignees

Comments

@nahyeon99
Copy link
Member

📝 개요 및 증상

  • 버그 발생 상황: 리프레시 토큰 발급 요청 시 유효한 access token을 받도록 구현되어 있습니다. 만료된 access token도 문제없이 처리되어야 합니다.
  • 기대한 동작
    • 클라이언트에서 Refresh 요청하는 상황은 다음과 같습니다.
      • 클라이언트가 요청을 보내기 전, access token의 payload를 통해 만료 기한을 얻는다.
      • 만료 기한이 지난 토큰이라면 refresh 요청을 보낸 후에 새로운 access token을 발급받는다.
      • 이후 원래 하려던 요청을 보낸다.

    이는 네트워크 요청을 줄이기 위함으로, 성능상 우위가 있다고 판단했습니다.


@nahyeon99 nahyeon99 self-assigned this May 5, 2024
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

No branches or pull requests

1 participant