Next.js Discord

Discord Forum

Redirect loop when using Auth0 with NextJS 14.1

Unanswered
Egyptian Mau posted this in #help-forum
Open in Discord
Egyptian MauOP
I'm trying to set up SSO login with Auth0 . Unfortunately I get into a redirect loop as soon as I hit the root path (login protected). This should normally take me to the Auth0 domain configured in the .env file. However, it keeps looping back on the root page. No errors are shown on the console. How do I go about debugging this?

0 Replies