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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / OIDC Custom Identity P...
Power Pages
Unanswered

OIDC Custom Identity Provider setup 502 error

(1) ShareShare
ReportReport
Posted on by

Hey, #PowerPlatform cracks! We're facing an issue trying to set up a custom OIDC Identity Provider (not B2C) for a #PowerPages site.

 

We entered the provider configuration, such as metadata address, scope, authority, redirect uri, response type, etc. but although the token is generated and is well formed, every time we set up the identity provider; a 502 error is thrown. 

 

What we've tried: 

 

- Configured and enabled the custom identity provider

- Let the Entra ID provider, enabled

- Configure the home page visibility to be available for everyone (Anonymous users)

 

If we go to the home page, it loads correctly as an anonymous user. Then, when I try to go to a private page, the login screen is shown. When I choose to sign in using the custom identity provider, an error is thrown showing the message below.

 

Any ideas?

Categories:
I have the same question (0)
  • DA-12031907-0 Profile Picture
    2 on at
    I just ran into this error while configuring Entra External ID as the provider. 
     
    In my case, I copied the value for the metadata address from the app registration end points in Azure, but the address was not reachable as-is without swapping the "organizations" path segment with the organization name. 

    I can't speak to your custom provider configuration but it might not hurt to check the metadata address and that its returning the adequate response.
     
    hope it helps if you're still facing this issue or someone comes across the post with the same error (as I did).

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard