Nextjs-auth0 - 401 Error when not logged in?

Hello folks,

Just created the nextjs-aut0 example app based on the steps in the readme here: GitHub - auth0/nextjs-auth0: Next.js SDK for signing in with Auth0

Now when I’m not logged in, it still calls the auth/me route and I get a 401. Is there a better way to check if I’m logged in without actually trying to read user data and responding with a 401?

Thank you so much!


Encountering same issue

did u find a solution for this ?

Hey all! For future reference please see:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.