A cloud-based identity and access management service for securing user authentication and resource access
Hello @Brad-3588
Based on your confirmation and the findings from the Microsoft Entra External ID product team, this behavior is expected and works by design.
The team confirmed that the OIDC issuer for a CIAM tenant remains tied to the tenant identity and continues to use the Microsoft-managed issuer endpoint, even after a custom URL domain has been successfully configured.
In other words, seeing the issuer continue to reference the tenant's Microsoft-managed issuer endpoint is expected.
The custom domain only affects user-facing endpoints such as the authorization endpoint, token endpoint, logout endpoint, and the browser sign-in experience. It does not change the issuer value returned in the OpenID Connect discovery document.
As a result, the following state is the expected final outcome:
- Discovery document is accessible through the custom domain.
- Authorization, token, and logout endpoints use the custom domain.
- The issuer continues to reference the tenant's Microsoft-managed issuer endpoint.
This is not related to propagation delays, a backend issue, or a tenant configuration problem, and no additional action is required on the tenant.
For applications consuming the metadata, we recommend trusting the issuer returned by the discovery document and avoiding validation logic that requires the issuer host to match the custom domain host.
For customers using MSAL.js with a custom domain and encountering ClientAuthError: endpoints_resolution_error, ensure that both the custom domain and the corresponding issuer host returned by the metadata endpoint are included in the knownAuthorities configuration. This allows MSAL to trust the issuer returned by the metadata endpoint.
Thank you.