Closed PaulAsjes closed 1 month ago
Fixes https://github.com/workos/authkit-nextjs/issues/40
In the case where you have:
unauthenticatedPaths
You'd get stuck in a login loop as you'd be redirected to AuthKit before the session can be set establishing that you've already logged in.
This adds a check and throws an error in that case.
Fixes https://github.com/workos/authkit-nextjs/issues/40
In the case where you have:
unauthenticatedPaths
arrayYou'd get stuck in a login loop as you'd be redirected to AuthKit before the session can be set establishing that you've already logged in.
This adds a check and throws an error in that case.