redirecting to custom error page if auth is canceled

hey folks I'm using discord for auth in my t3 app I want user to redirected to a custom error page if oauth is cancelled so I added
pages: {
error: "/oauth/error
}
pages: {
error: "/oauth/error
}
to authOption but when I cancel the oauth the user is get redirected to /api/auth/signin?error=Callback instead
0 Replies
No replies yetBe the first to reply to this messageJoin