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

최초 로그인을 안하고 화면을 나갈시, google id token에 인해 자동 로그인이 되는 버그 #73

Closed
rhkrwngud445 opened this issue Apr 2, 2024 · 2 comments · Fixed by #75
Assignees
Labels
bug Something isn't working

Comments

@rhkrwngud445
Copy link
Contributor

rhkrwngud445 commented Apr 2, 2024

버그 설명

토큰이 로컬에 저장되어 자동로그인으로 구분됨

예상 동작

구글 토큰이 있어도 login이 되어선 안된다.

실제 동작

자동 로그인 됨

재현 방법

No response

스크린샷 첨부

No response

환경

No response

비고

signUp 화면에서 앱을 종료할 때는 토큰제거..?

@rhkrwngud445 rhkrwngud445 added the bug Something isn't working label Apr 2, 2024
@rhkrwngud445 rhkrwngud445 self-assigned this Apr 2, 2024
@rhkrwngud445 rhkrwngud445 linked a pull request Apr 2, 2024 that will close this issue
@chws0508
Copy link
Contributor

chws0508 commented Apr 2, 2024

로그인 할 시, Role을 주는것으로 바뀌었기 때문에, Role이 Guest면 회원가입으로, User면 홈화면으로 이동시키는 로직이 추가되면 될 것 같습니다. 또한 회원가입에 성공하면, Role을 User로 업데이트 시켜주면 될 것 같습니다.
@rhkrwngud445

@rhkrwngud445
Copy link
Contributor Author

좋은 방식 같습니다! 해당 방식으로 진행하고 추후 자동로그인으로 마이그레이션 하면 될 것 같네요!

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

Successfully merging a pull request may close this issue.

2 participants