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 ?
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.
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
65
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1