API `verifyEmail` problem
I'm encountering an issue with an email verification process in my TypeScript application. Despite the API response look like successful operation (a set-cookie header), an APIError is being thrown.
better auth v1.2.10
Error Details:
4 Replies
I notice if I don't pass the callbackURL everything works fine
This is not necessarily an error, you're getting a 302 response, indicating to redirect.
You're getting a redirect response because you included a callbackURL.
But indicating to redirect shouldn't throw APIError right?
All redirects in BetterAuth are thrown.