Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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 ?

  • Codebug Profile Picture
    28 on at
    Re: Oauth Redirection in PCF component embedded in a Model Driven App

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard