A WebAuthn credential is scoped to a relying party ID (RP ID): a domain the browser checks against the page’s origin. A credential created for securekeys.org can be used on securekeys.org and its subdomains, but not on securekeys.dev, which is a separate registrable domain.
| Environment | Origin | RP ID |
|---|---|---|
| Production | https://securekeys.org |
securekeys.org |
| Staging | https://staging.securekeys.org |
staging.securekeys.org |
| Local development | http://localhost:4321 |
localhost |
Staging deliberately uses its own RP ID so that test credentials can never be used against production.
securekeys.dev, if registered, will initially redirect to /developers and host no WebAuthn ceremonies. Any future cross-domain identity feature will be designed explicitly (for example with WebAuthn Related Origin Requests) and recorded in an architecture decision record before implementation.