colin
BABetter Auth
•Created by colin on 4/1/2025 in #help
How to debug addPasskey not working in Production (Vercel)?
Having configured the
passkey
plugin, I can add a passkey locally/development but not in production (Vercel).
I'm using a simple button in NextJS to trigger adding a passkey:
Which locally, prompts my browser (Firefox or Chrome) to a add a passkey.
However, in production on Vercel, I see the GET request to:
And the response looks ok (I think?):
But the browser prompt to add the passkey doesn't trigger/appear. And there's no subsequent /passkey/verify-registration
POST request as there is locally.
I can't figure out what the issue could be as I'm not seeing any errors in my browser or Vercel's logs.
Any help on where to start debugging this would be appreciated. 🙏18 replies