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

[feat] access-token 만료시 refresh-token 기반으로 재발급받기 #116

Open
2 tasks
KIMSEUNGGYU opened this issue Feb 12, 2023 · 1 comment · May be fixed by #123
Open
2 tasks

[feat] access-token 만료시 refresh-token 기반으로 재발급받기 #116

KIMSEUNGGYU opened this issue Feb 12, 2023 · 1 comment · May be fixed by #123
Assignees
Labels
✨ feature 기능 개발

Comments

@KIMSEUNGGYU
Copy link
Collaborator

💡 목적

  • 현재 accessToken 로직만 처리되었기 때문에 accessToken 만료시 refresh 토큰을 이용해서 accessToken 재 발급 로직 추가
    => axios.interceptor.response 에서 401 인 경우 accessToken 재발급 요청하면 될듯!

📝 Todo

  • accessToken 만료시 refreshToken 으로 재발급 요청
  • refresToken 도 만료시 로그아웃

‼️ 주의 사항

@KIMSEUNGGYU KIMSEUNGGYU added the ✨ feature 기능 개발 label Feb 12, 2023
@hwookim hwookim self-assigned this Feb 13, 2023
@hwookim
Copy link
Collaborator

hwookim commented Feb 13, 2023

refresToken 도 만료시 로그아웃

이건 유효하지 않은 토큰이 있는 걸로 분류해서 #103 에서 진행하도록 하겠습니다!

@hwookim hwookim linked a pull request Feb 13, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature 기능 개발
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants