Skip to content

[#71] feat: refresh 기반 access토큰 갱신 로직 구현#74

Merged
hyeonjinan096 merged 1 commit intodevfrom
feat/#71/refresh-token
Apr 28, 2025
Merged

[#71] feat: refresh 기반 access토큰 갱신 로직 구현#74
hyeonjinan096 merged 1 commit intodevfrom
feat/#71/refresh-token

Conversation

@hyeonjinan096
Copy link
Collaborator

@hyeonjinan096 hyeonjinan096 commented Apr 26, 2025

close #71

📝 작업 내용

refresh 기반 access토큰 갱신 로직 구현 및 logout api 반영

  • 액세스 토큰 만료 시, 리프레시 토큰으로 액세스 토큰 갱신

  • 리프레시 토큰 만료 시, 로그아웃 및 로그인 페이지 이동

  • 기존 로그아웃 로직 → /token/logout API 호출 방식으로 변경
    (서버에서 리프레시 토큰, 쿠키 모두 삭제)

이전 만료된 access토큰으로 페이지 접근 가능했던 문제
만료된 access토큰 남아있을 때 refresh토큰도 만료이면 바로 로그인 페이지로 이동하게 반영

📍 기타 (선택)

추가 참고사항

  • 현재 공지 API, 회사 API 사용 시 일부 에러 발생

  • 해당 부분은 별도 이슈를 생성하거나, 백엔드 응답 포맷 변경 시 맞춰 수정 예정

@hyeonjinan096 hyeonjinan096 added the feat Improvements or additions to documentation label Apr 26, 2025
@hyeonjinan096 hyeonjinan096 self-assigned this Apr 26, 2025
Copy link
Collaborator

@rjk0103 rjk0103 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다.

Copy link
Collaborator

@laterre39 laterre39 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다, 편안~

@hyeonjinan096 hyeonjinan096 merged commit 7312fd4 into dev Apr 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: refresh 토큰 요청 기능 구현

3 participants