[BUG] OAuth is looping on SignUp when Logged On
indicozy opened this issue · comments
Describe the bug
When I try to Sign Up when I'm already logged in, I get into login cycle:
- http://localhost:3000/signin
- http://localhost:3000/signup/sso-oauth/oauth_google
- https://accounts.google.com/o/oauth2/auth/...
- back to http://localhost:3000/signup/sso-oauth/oauth_google
To Reproduce
Steps to reproduce the behavior:
- Replicate this repo
- Sign Up via anything
- Sign Up again while logged in
- See error
Expected behavior
Either I get into main page logged in or I am redirected to SignUp.
Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS] Fedora 37
- Browser [e.g. chrome, safari] Firefox
- Version [e.g. 22] 110.0