Change email: the second verification email (to the new email) does not redirect

When changing email: 1. First verification email is sent to current email 2. Clicking on the link redirects correctly to the defined callbackUrl, also triggers sending second verification email 3. Second verification email is sent to new email 4. Clicking on the link returns a json instead of redirecting Also, changing email does not update the normalizedEmail column when using better-auth-harmony
2 Replies
bekacru
bekacru3mo ago
it returns json if there is no callbackURL query in the url. Before you send it to the user email make sure to add a callback url if it doesn't have it.
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?