Skip to main content

errors

AccountNotLinked​

Todo​

Thrown when an Email address is already associated with an account but the user is trying an OAuth account that is not linked to it.


AdapterError​

Todo​

One of the database Adapter methods failed.


AuthorizedCallbackError​

Todo​


CallbackRouteError​

There was an error while trying to finish up authenticating the user. Depending on the type of provider, this could be for multiple reasons.

tip

Check out [auth][details] in the error message to know which provider failed.

Example​

[auth][details]: { "provider": "github" }

For an OAuth provider, possible causes are:

  • The user denied access to the application
  • There was an error parsing the OAuth Profile: Check out the provider's profile or userinfo.request method to make sure it correctly fetches the user's profile.
  • The signIn or jwt callback methods threw an uncaught error: Check the callback method implementations.

For an Email provider, possible causes are:

  • The provided email/token combination was invalid/missing: Check if the provider's sendVerificationRequest method correctly sends the email.
  • The provided email/token combination has expired: Ask the user to log in again.
  • There was an error with the database: Check the database logs.

For a Credentials provider, possible causes are:

  • The authorize method threw an uncaught error: Check the provider's authorize method.
  • The signIn or jwt callback methods threw an uncaught error: Check the callback method implementations.
tip

Check out [auth][cause] in the error message for more details. It will show the original stack trace.


ErrorPageLoop​

Todo​


EventError​

Todo​


InvalidCallbackUrl​

Todo​


InvalidCheck​

Todo​


InvalidEndpoints​

Todo​


JWTSessionError​

Todo​


MissingAPIRoute​

Todo​


MissingAdapter​

Todo​


MissingAdapterMethods​

Todo​


MissingAuthorize​

Todo​


MissingSecret​

Todo​


OAuthCallbackError​

Todo​


OAuthCreateUserError​

Todo​


OAuthProfileParseError​

Todo​


OAuthSignInError​

Todo​


SessionTokenError​

Todo​


SignInError​

Todo​


SignOutError​

Todo​


UnknownAction​

Todo​


UnsupportedStrategy​

Todo​


UntrustedHost​

Todo​


Verification​

The user's email/token combination was invalid. This could be because the email/token combination was not found in the database, or because it token has expired. Ask the user to log in again.