Passkey Registration/Authentication Fails on iOS When Relying Party ID in Okta Is Set to a Root Domain
Last Updated:
Overview
Passkey Registration and Authentication fails on iOS devices when the WebAuthn/FIDO Authenticator is configured for a custom Relying Party ID (RP) set to a Root Domain.
Origin parameter in client data doesn't match. clientData origin was https://{Root_Domain}
Applies To
- Okta Identity Engine (OIE)
- WebAuthn / Passkeys
- iOS Native Authentication
Cause
The Root Domain used as the RP isn't set as a trusted Origin in the Okta Org.
Solution
After successfully completing the documented steps to set a custom RP ID value, an additional step is required: adding the Root Domain as a trusted origin to the Okta Org, if it is not already present.
- In the Okta Admin Console, navigate to Security > API > Trusted Origins.
- Add an entry for the Root Domain for CORS.
