<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Active Directory Agent Installation Fails With Passkey Error

Okta Classic Engine
Okta Identity Engine
Multi-Factor Authentication

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.

 

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.

  1. Go to Customizations and select Brands in the Okta Admin Console.
  2. Select the custom domain.
  3. Navigate to the Domains tab.
  4. Select WebAuthn or Configure.
  5. Add the required custom domain URLs to the origins array in the JSON configuration.
    {  
      "origins": [  
        "https://companydomain.com",  
        "https://domain.com"  
      ]  
    }
 
Loading
Okta Active Directory Agent Installation Fails With Passkey Error | Okta Support