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 ?

Report
All responses (
Answers (