fix: User sign in a loop if callbackurl is set to login page #85
Labels
aspect/interface 🕹
Concerns end-users' experience with the software
domain/obvious 🟩
Represents the "known knowns" issue. It's Obviously
good first issue
Good for newcomers
priority/medium 🟨
Priority 3 - Not blocking but should be fixed soon
type/bug 🔥
Something isn't working
Milestone
Describe the bug
When an User sign in in app and get an Error during login or have callbackUrl set to auth page link. After the user is connected, the User is redirected to the login page and needs to edut URL manually.
To Reproduce
Steps to reproduce the behavior:
http://localhost:3000/auth/signin?callbackUrl=/auth/login
Expected behavior
When a connected user try to go
/auth/signin
and he is already connected, redirect the user to/
The text was updated successfully, but these errors were encountered: