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

[버그] 로그인된 상태인데 login 으로 URL 가면 카카오 로그인 뜨는 버그 #45

Open
jukangpark opened this issue Sep 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jukangpark
Copy link
Owner

localStorage 에 대한 참조를 컴포넌트 내부에서 다이렉트로 불가한 이유가, CSR 은 서버에서도 실행되기 때문에 서버에서 window.localStorage 참조가 불가함.

이걸 해결하기 위해서는 Nextjs 의 미들웨어에서 처리해야할거같은데, 어케할지는 찾아봐야겠음.

@jukangpark jukangpark added the bug Something isn't working label Sep 7, 2024
@jukangpark jukangpark self-assigned this Sep 7, 2024
@jukangpark jukangpark changed the title 로그인된 상태인데 login 으로 URL 가면 카카오 로그인 뜨는 버그 [버그] 로그인된 상태인데 login 으로 URL 가면 카카오 로그인 뜨는 버그 Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant