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

버그 바운티: 설정 페이지에 갇힘 #54

Open
IceCandle opened this issue Feb 5, 2025 · 0 comments
Open

버그 바운티: 설정 페이지에 갇힘 #54

IceCandle opened this issue Feb 5, 2025 · 0 comments

Comments

@IceCandle
Copy link

IceCandle commented Feb 5, 2025

로그아웃 중 인증 상태 관리의 race condition으로 인해 사용자가 로그아웃해도 설정 페이지에 남아 있습니다.

재현 방법

  1. 로그인합니다.
  2. 설정 페이지(/mypage/settings)로 이동합니다.
  3. 로그아웃 버튼을 클릭합니다.
  4. 탐색이 완료되기 전에 페이지를 빠르게 새로고침합니다.
  5. 밖으로 이동할 방법이 없는 설정 페이지에 멈춰 있습니다.

현재 동작

  • local storage와 state management가 동기화되지 않음

수정 사항

atomic logout operation이 필요할 것 같습니다.

환경

  • 인증 유형: 새로고침 토큰이 있는 JWT
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