Customize the Passkeys (FIDO2 WebAuthn) relying party ID domain

A relying party (RP) ID represents the domain that passkeys and security keys can authenticate with. Okta lets you customize the RP ID domain. You can specify your Okta org domain, your custom domain, or a registrable suffix of a custom domain. Users can then authenticate with their passkeys or security keys in the domain and all of its subdomains. This helps you achieve phishing-resistant authentication across all of your domains. It also helps avoid the need to issue multiple passkeys or security keys to each user for each domain they access.

See Configure a custom domain and Customize domain and email address.

Create a relying party ID

  1. In the Admin Console, go to Security > Authenticators.

  2. On the Setup tab, click Actions in the Passkeys (FIDO2 WebAuthn) row.
  3. Click Edit.
  4. In the Relying Party ID field, enter your Okta org domain, a custom domain, or a registrable suffix of the custom domain.
  5. Click Check domain. If the domain is valid, Okta displays VERIFIED under the domain name. If you entered a registrable suffix of your custom domain, Okta displays TXT record information. Add this information to the TXT record in your domain registration through your domain registrar.
  6. After the TXT record has been updated in your domain registration, click Check for TXT record to verify ownership of the domain.
  7. Click Save.
  8. To activate the RP ID, go to Activate and deactivate a relying party ID.

Activate and deactivate a relying party ID

  1. In the Admin Console, go to Security > Authenticators.

  2. On the Setup tab, click Actions in the Passkeys (FIDO2 WebAuthn) row.
  3. Click Edit.
  4. Toggle on or off the Customize Relying Party setting.
  5. Click Save.
  6. Click Save changes at the confirmation prompt.

Remove a domain

Removing a domain deletes the domain and turns the feature off. You can't edit an RP ID after you've saved it. To change it, remove the current domain and then create a new RP ID. If you change the RP ID, existing Passkeys (FIDO2 WebAuthn) enrollments don't work.

  1. In the Admin Console, go to Security > Authenticators.

  2. On the Setup tab, click Actions in the Passkeys (FIDO2 WebAuthn) row.
  3. Click Edit.
  4. Click Remove domain. The domain is removed immediately.
  5. Click Save.
  6. Click Save changes at the confirmation prompt.