bjw
BABetter Auth
•Created by 7ocomotive on 3/14/2025 in #help
ERROR [Better Auth]: State Mismatch. Verification not found
i have the same problem. It looks like the errorURL doesn't work.
I use the server action to sign in with google oauth and onAPIError was also defined.
If the oauth verification token expires, better-auth redirects me to the api/auth/error route.
I just cant deactivate this standard error page. Hi @7ocomotive did you solve this problem?
In the production the user should never see this standard error page from better-auth.
6 replies