Custom errors with error codes #1254
Answered
by
balazsorban44
StefanSelfTaught
asked this question in
Help
-
I saw in the docs that you can add a custom page for authentication errors and an error code is passed in a query string as From the docs: |
Beta Was this translation helpful? Give feedback.
Answered by
balazsorban44
Feb 6, 2021
Replies: 2 comments 1 reply
-
not a list per se, but you can see the cases for errors here, lowercased: https://www.github.com/nextauthjs/next-auth/tree/canary/src%2Fserver%2Fpages%2Ferror.js |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
StefanSelfTaught
-
Thanks! Should I add those in the docs? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not a list per se, but you can see the cases for errors here, lowercased:
https://www.github.com/nextauthjs/next-auth/tree/canary/src%2Fserver%2Fpages%2Ferror.js