Skip to main content

Notifications

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
    oliver.rodrigues 8,970 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,367

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,297

Leaderboard

Featured topics