Practical security for everyday technology.

A WebAuthn passkey’s relying-party ID defines where it belongs

A laptop with a generic security-key icon beside a physical security key, neutral office desk.
AI-generated photographic illustration; not documentary photography.

A passkey is not a secret you can type into any page that asks for it. In WebAuthn, the credential belongs to a relying party identified by an RP ID. That domain-based scope is one reason a lookalike sign-in page cannot simply request another site’s credential.

The W3C WebAuthn specification describes the RP ID as a domain string. It does not include the URL’s scheme, port or path. The browser checks the relationship between the requesting origin and the RP ID; the server must also perform the required verification of the authentication response.

A domain relationship, not a page title

For illustration, a service at login.example.com may use an eligible RP ID such as example.com. A completely unrelated domain does not gain that relationship by displaying the same logo or copying the page’s design.

Modern WebAuthn also defines controlled related-origin arrangements. Those require explicit configuration and supporting clients; they are not permission for arbitrary websites to use an existing passkey.

When a service changes its sign-in address

From a user’s perspective, the practical question is how the service has planned the transition. A new address, a renamed account provider and a new password-manager display label are different changes. Do not assume that one automatically explains another.

If an expected passkey is not offered, return to the service through a known bookmark or its official app and look for migration instructions. Record which address you reached and what the browser displayed. That information is more useful to support staff than a screenshot containing private account details.

Do not delete the working credential merely to experiment with an unfamiliar sign-in prompt. Check the service’s recovery arrangements before making account-security changes.

For developers, an RP ID is an architectural choice to plan before registration, not a cosmetic string to rename later. For users, the important habit is simpler: recognise the service’s genuine entry point and treat unexpected migration requests as something to verify there.