Skip to main content

Notifications

Community site session details

Community site session details

Session Id : PukcEomMcomLBiQaEaY68e
Power Pages - General Discussions
Answered

OIDC Custom Scope/Claim

Like (0) ShareShare
ReportReport
Posted on 31 Dec 2024 17:55:01 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,242 Most Valuable Professional on 02 Jan 2025 at 09:28:01
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,677 Most Valuable Professional

Leaderboard