Global or on-demand middleware throws 500 in console and error=undefined in url #479
Labels
closed-by-bot
Closed by automation
needs-reproduction
Action needed: A valid reproduction of the issue needs to be added
provider-authjs
An issue with the authjs provider
Environment
Reproduction
Using private OAuth provider. Providing a repo to clone is not going to help.
Describe the bug
Going to a "protected" route, redirect happens but then another that appends
error=undefined
to the url in addition to a callbackUrl.When I disable global middleware, I don't get that error when I go to my signin page.
Additional context
nuxt.cofig.js:
Logs
The text was updated successfully, but these errors were encountered: