authClient.emailOtp.verifyEmail(), wrong endpoint "/email-verification"

Why does authClient.emailOtp.verifyEmail() keep sending to the regular endpoint /email-verification and NOT /email-otp/verify-email​ endpoint? I keep getting METHOD NOT ALLOWED, which makes sense as /email-verification is a GET, but I am sending a POST. Because I am expecting the authClient to hit /email-otp/verify-email, which is a POST.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?