Login to Azure health Data Services from React SPA
Das, Bipin
0
Reputation points
I am able to use postman to get a token and access patient data. but from the React App, I am able to fetch the access token and attach it to the Authorization header but I get a 401 when I access the /Patient endpoint. I have created a Azure AD app registration (SPA) and given that app FHIR SMART, and Fhir Data Contributor roles in the FHIR service IAM.
Everything works in postman but not from the React SPA.
Sign in to answer