web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Custom Domain Sign in ...
Power Pages
Unanswered

Custom Domain Sign in failed with OIDC

(0) ShareShare
ReportReport
Posted on by 34

I created a Power Page site and added a custom domain. I set up an OpenID Connect identity provider and set that as the default sign in method. I also set up a redirect to always use the custom domain.

When I try to sign in using the custom domain, I get a "Sign in failed" error and I'm redirected to /Account/Login/ExternalAuthenticationFailed.

 

When I look at the logs, I get this message:

Exception during OpenIdConnect or Azure Authentication in Microsoft.IdentityModel.Protocols.OpenIdConnect: IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.; Error Description: , ErrorCategory:ApplicationError

 

Is there a way to allow the sign-in from the custom domain?

 

Categories:
I have the same question (0)
  • ShaneHubble Profile Picture
    34 on at

    Set-Cookie is also failing when trying to sign in

    ShaneHubble_0-1698246461152.png

    The request URL is different from the Domain attribute in Set-Cookie. This makes sense because of the custom domain that's enabled. How do I get the Domain attribute to be the custom domain instead?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 61

#2
Valantis Profile Picture

Valantis 46

#2
11manish Profile Picture

11manish 46

Last 30 days Overall leaderboard