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

refactor: 로그인 상태 관리 수정 및 토큰 갱신 #32

Merged
merged 9 commits into from
Dec 3, 2024

Conversation

Han-wo
Copy link
Collaborator

@Han-wo Han-wo commented Dec 2, 2024

#️⃣ 이슈

📝 작업 내용

주스탄드로 로그인 상태를 확인해서 새로고침시 로그인안되어진 상태의 컴포넌트가보여 스켈레톤을 넣었고
access토큰 밖에없어서 토큰 유지시간을 2시간으로 연장하고
쿠키내에 maxAge를 30분으로 줄인후에 maxAge를 갱신하는 방식을 채택했습니다.
최대 4회 가능합니다

📸 스크린샷

토큰갱신

✅ 체크 리스트

  • 적절한 Title 작성
  • 적절한 Label 지정
  • Assignee 및 Reviewer 지정
  • 로컬 작동 확인
  • Merge 되는 브랜치 확인

👩‍💻 공유 포인트 및 논의 사항

사진처럼 4번까지 갱신이 가능하고 4번째 이후엔 자동으로 로그아웃이 됩니다.

@Han-wo Han-wo added 🛠️ FIX Something isn't working 우선순위: MEDIUM New feature or request ✨ FEAT This doesn't seem right labels Dec 2, 2024
@Han-wo Han-wo self-assigned this Dec 2, 2024
@Han-wo Han-wo linked an issue Dec 2, 2024 that may be closed by this pull request
2 tasks
Copy link

github-actions bot commented Dec 2, 2024

@Han-wo Han-wo merged commit 1bfa19b into develop Dec 3, 2024
1 check passed
Copy link

netlify bot commented Dec 3, 2024

Deploy Preview for growfolio failed.

Name Link
🔨 Latest commit aa5bbd2
🔍 Latest deploy log https://app.netlify.com/sites/growfolio/deploys/674e985ae8809f00085f3f72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ FEAT This doesn't seem right 🛠️ FIX Something isn't working 우선순위: MEDIUM New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor: 유저기능 관련 수정
1 participant