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 / Oauth Redirection in P...
Power Apps
Unanswered

Oauth Redirection in PCF component embedded in a Model Driven App

(1) ShareShare
ReportReport
Posted on by 44

We have created a PCF component that can display maps in the context of Dynamics entities. However, we are encountering a problem in the authentication phase. We are using implicit grant, which requires the user to first connect to an external API to retrieve their context. In this scheme, the user is prompted for their login/password and then redirected to a return URL defined in the external API application. (In our case, the CRM URL).

However, we are getting a Dynamics error because nothing is listening for the return URL. In the case of a typical web app, the web server would wait for the return of the authentication via the URL defined in the external API application, but in our case, our component is integrated into a third-party software and cannot directly listen to the return URL.

 

Can you please help ?

Capture d’écran 2023-01-23 à 14.38.37.png
I have the same question (0)
  • Codebug Profile Picture
    28 on at

    Not an answer by any means but are you using some library (ADAL/MSAL) for the auth. I had similar problems (azure specific only) where i miss typed the authority url. if you are using either of the above libraries check out their documentation as they keep changing. 

     

    i have got a JWT generator that you can take a peek at here. again this is for azure specific tech only.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard