Skip to main content
Passkey registration and authentication only work on native devices (iOS/Android), not in the Unity Editor.

Register a passkey

List passkeys

Authenticate with passkey (MFA)

Passkeys are bound to the Relying Party ID (RP ID) they were registered under, which is normally your domain. If your users registered passkeys on a different domain, for example a previous domain you are migrating away from, pass that domain as relatedOriginRpId so they can keep signing in with their existing passkeys instead of registering new ones.
Two conditions apply:
  • relatedOriginRpId must be the RP ID the passkey was registered under, as a bare hostname such as old.example.com.
  • That domain must link the two origins by hosting https://old.example.com/.well-known/webauthn with your current domain in its origins list:
This uses the WebAuthn related origins feature. See Related Origin Requests for the underlying mechanism.

Delete a passkey

Complete example

Next steps

  • MFA - Multi-factor authentication with TOTP
  • Authentication - Other authentication methods
Last modified on October 14, 2026