404 on /two-factor/view-backup-codes

my better-auth server is returning 404 for the /two-factor/view-backup-codes endpoint. And I'm not sure why. All the other endpoints for the Two Factor plugin are working fine (visible in /auth/reference). Would appreciate some help figuring this out. Thank you.
1 Reply
colin
colinOP4w ago
I'm using better-auth v1.3.17. And I've tried deleting and reinstalling the better-auth package Checked the session/auth cookies are correct and being sent with the request. Is the request meant to be a GET not POST. I wondered since it has userId in the body

Did you find this page helpful?