Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Component inside Dynamics 365. #214

Open
manishsg opened this issue Jun 27, 2021 · 3 comments
Open

React Component inside Dynamics 365. #214

manishsg opened this issue Jun 27, 2021 · 3 comments
Labels

Comments

@manishsg
Copy link

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

@arvindkrishnakumar-okta

@manishsg Thanks for posting!

@shuowu-okta can you assist with this?

@manishsg
Copy link
Author

Hi Arvind

Please can you assist with the above request.

Thanks

@shuowu
Copy link
Contributor

shuowu commented Jul 13, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants