<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
Self Hosted Okta Widget Displays "This is an invalid domain" after Enabling Autofill for Passkeys
Okta Identity Engine
SDKs & Libraries
Overview

Self-hosted Widget displays This is an invalid domain error when the Login Page is rendered.

 

Applies To
  • Embedded Widget
  • Okta Identity Engine (OIE)
  • Passkeys w/autofill
Cause

When Okta Identity Engine has autofill enabled for Passkeys, the Widget will try to get an credentials from the browser when rendered.

When running on http the browsers Credentials API the Widget relies on will fail. 
This is often the case when doing development on localhost.

Solution

This can be resolved by testing on https with a valid certificate.

 

Related References:

Loading
Self Hosted Okta Widget Displays "This is an invalid domain" after Enabling Autofill for Passkeys