Okta Active Directory Agent Installation Fails With Passkey Error
Last Updated:
Overview
Administrators experience an error when attempting to install the Okta Active Directory Agent using a passkey for authentication. This occurs because the Okta configuration lacks the custom domain as a valid WebAuthn origin. Add the custom domain to the WebAuthn origins configuration in the brand settings to resolve this issue. During the installation of the Okta Active Directory Agent, the following error occurs:
Could not sign in with a passkey. The RP ID [<customdomain.companydomain.com>] is invalid for this domain.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Active Directory (AD) Agent
- WebAuthn
- Customizations
Cause
The Okta brand settings lack the custom domain as a valid WebAuthn origin.
Solution
How is the passkey error resolved?
Navigate to the brand customizations in the Okta Admin Console and add the required custom domain URLs to the WebAuthn configuration.
- Go to Customizations and select Brands in the Okta Admin Console.
- Select the custom domain.
- Navigate to the Domains tab.
- Select WebAuthn or Configure.
- Add the required custom domain URLs to the
originsarray in the JSON configuration.{ "origins": [ "https://companydomain.com", "https://domain.com" ] }
