NextAuth wrong error redirect

hey 👋 Each time there is an error, I get redirected back to the login page instead of the error page. Any ideas why? Example after an error: http://localhost:3000/auth/login?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Flinked-accounts&error=OAuthAccountNotLinked
1 Reply
domi?
domi?•2y ago
Here are my settings:
pages: {
signIn: '/auth/login',
signOut: '/auth/login',
error: '/auth/error'
}
pages: {
signIn: '/auth/login',
signOut: '/auth/login',
error: '/auth/error'
}
Want results from more Discord servers?
Add your server