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 Apps / MSAL OAuth 2.0 flow vi...
Power Apps
Unanswered

MSAL OAuth 2.0 flow via PCF in Canvas App

(0) ShareShare
ReportReport
Posted on by
Hi All,
 
I am trying to execute the MSAL OAuth 2.0 flow from a custom control PCF present in a canvas app. The authentication worked fine for us a couple of months but now it seems to fail and it gives error on loginpopup as well as loginredirect calls. My guess is the redirect uri  "https://runtime-app.powerplatform.com/publishedapp/e/b*******-ddcd-e93e-8892-************/preloadindex/V1" which worked initially is no longer working correctly. Th auth flow which was completing in the same session without any redirects is no longer happening! 

Can someone guide what is the correct redirect uri which can be used for canvas app`s to execute this MS authentication flow. Any help is highly appreciated.
 
Regards,
Aishwarya
AuthFlowError.png
I have the same question (0)

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard