2

Are there any examples on how to implement Azure AD with React web application the example I see include .net core examples only. Mine is pure React web application. Any suggestions?

it is ok to bundle the tenantid and clientid/application inside the react web application? would that have any security implications

kumar
  • 8,207
  • 20
  • 85
  • 176
  • 2
    Does it help : https://stackoverflow.com/questions/50305568/how-to-integrate-azure-ad-into-a-react-web-app-that-consumes-a-rest-api-in-azure? – Nishu Tayal Dec 19 '18 at 14:14
  • I would try this. https://ahsanshares.wordpress.com/2019/10/19/react-app-consuming-microsoft-graph/ – Ahsan Raza Oct 25 '19 at 10:14

1 Answers1

0

We implemented similar structure as follows: There is a webappservice, which is created from standart web application template. It handles all the authentication parts. Once user is authenticated, the web application service, serves react files with proper parameters (e.g. logged in, user token etc)

Doğancan Arabacı
  • 3,934
  • 2
  • 17
  • 25