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

Fix/jwt check auth error #26

Merged
merged 5 commits into from
Aug 26, 2024
Merged

Fix/jwt check auth error #26

merged 5 commits into from
Aug 26, 2024

Conversation

seonjo1
Copy link
Contributor

@seonjo1 seonjo1 commented Aug 26, 2024

주요 구현 사항

  • 로그인 하고 뒤로가기 누르면 쿠키를 못 보내던 현상을 해결했습니다 (왜 되는지는 모르겠음 ㅋ)
  • jwt가 있을때 "/" 로 이동하려 하면 state에 이전 기록을 삭제했었는데 이 부분을 없애니까 되는데 왜 되지?!
    ++++그리고 checkAuth함수를 좀 다듬었습니다

기존 jwt 있을때 login 화면으로 가거나, jwt 없을때 login 이외 화면으로 갈때 강제 이동시키면서 state 기록을 삭제했는데 이 부분 수정
Copy link
Contributor

@jaehejun jaehejun left a comment

Choose a reason for hiding this comment

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

참 잘했어요!

@seonjo1
Copy link
Contributor Author

seonjo1 commented Aug 26, 2024

베리 베리 떙큐!!

@seonjo1 seonjo1 merged commit d195bd9 into main Aug 26, 2024
@seonjo1 seonjo1 deleted the fix/jwt-checkAuth-error branch August 26, 2024 11:49
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

Successfully merging this pull request may close these issues.

2 participants