React Component inside Dynamics 365.
Hi Okta Dev Team,
We are building a react component which needs to call an external API. The react component is hosted in Dynamics 365.
The Dynamics 365 has 2 factor authentication with Okta.
How to enable the OIDC in this react component similar to : https://pcf.gallery/react-aad-msal-pcf/ https://taerimhan.com/using-react-aad-msal-to-call-a-secure-api-from-a-pcf-control/
The challenge we are facing is in the redirect uri and the callback setup.
Any suggestions would be highly appreciated.
Thank you
@manishsg Thanks for posting!
@shuowu-okta can you assist with this?
Hi Arvind
Please can you assist with the above request.
Thanks
@manishsg I am not very familiar with how Dynamics 365 app works. If it follows the pattern of how to build a SPA app, then you can add follow the okta-hosted-login sample and register your app domain in Okta developer console.
There is also a guide to help.