Skip to content

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

@nahyeon99

Description

@nahyeon99

📝 개요 및 증상

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

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


Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions