User Cancelling Authentication Redirects to Better Auth Error Page
this is my code for facebook login, i have the errorCallbackURL to go to "/sign-in" but it doesn't fall back to this redirect instead it goes staright to the default better auth error page. my database is fully set up, the error in the url says:
Solution
ended up fixing this by adding errorURL to my betterAuth for the onAPIError property