💄 Add custom auth error page (#903)

This commit is contained in:
Luke Vella 2023-10-19 16:11:33 +01:00 committed by GitHub
parent 6fa66da681
commit eaa8f5813d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 16 deletions

View file

@ -112,6 +112,7 @@ const authOptions = {
pages: {
signIn: "/login",
signOut: "/logout",
error: "/auth/error",
},
callbacks: {
async redirect({ url, baseUrl }) {