Need help integrating auth0 with authjs #12999
Unanswered
subhajit-aec
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using auth0 as the provider.

This my auth0 flow 👇. So for the first time user I want to validate the email
This is my auth.ts file
So I am expecting to redirect the error to the error page.
But it's throwing this error 👇
[auth][error] OAuthCallbackError: OAuth Provider returned an error. Read more at https://errors.authjs.dev#oauthcallbackerror
GET /api/auth/callback/auth0?error=access_denied&error_description=Please%20verify%20your%20email%20before%20logging%20in. 302 in 626ms
GET /api/auth/signin?error=OAuthCallbackError 200 in 31ms
It's redirecting to the signin page given by authjs
How to fix this and handle this kind of scenario?
Beta Was this translation helpful? Give feedback.
All reactions