Skip to content
Discussion options

You must be logged in to vote

Right, it can't. A passkey is bound to the domain it was created on (the WebAuthn RP ID), so the workers.dev one will never be offered on the new domain. The auth guide says the same under Troubleshooting → "Passkey authentication failed": "Register a new passkey for each domain."

The catch is that adding a passkey requires a session on the new domain. Without email there are still two ways to get one without touching the database:

1. Sign in once through a login provider (no email needed).

  • Configure GitHub, Google or Microsoft with the env vars from the auth guide, with the callback on the new domain, e.g. https://your-new-domain/_emdash/api/auth/oauth/github/callback.
  • EmDash links a pr…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jacoplane
Comment options

Answer selected by jacoplane
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants