Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Answered

OIDC Custom Scope/Claim

(0) ShareShare
ReportReport
Posted on by 2
Very new to the PowerPlatform and we have a PowerPages app that connects to Okta for authentication via OIDC.  It works fine when we request scopes "openid email profile" but when we try to fetch an additional custom scope "openid email profile customscopename" the PowerPages app does not redirect to our IDP (Okta) and gives an error "external authentication error".  The custom scope retuns the custom claims just fine when we do tests outside of PowerPages.  Does PowerPages allow for the use of custom scopes and if so what might be the issue?  Is there somewhere we can check logs to get more error details related to the "external authentication error" that displays on the app loging screen in PowerPages?
Categories:
  • Verified answer
    oliver.rodrigues Profile Picture
    9,327 Most Valuable Professional on at
    OIDC Custom Scope/Claim
    I haven't done that myself, however according to the documentation, this should be supported.
     
    My first guess here would be to open a support ticket so Microsoft can investigate on their end what might be happening. 
     
    You can enable diagnostic error logging, but I am not sure it would get to the level that you are looking for: https://learn.microsoft.com/en-us/power-pages/admin/view-portal-error-log#enable-diagnostic-logging

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43