< Previous Challenge - Home - Next Challenge>
In this challenge, you will create a new JavaScript Single Page App (SPA) integrated with Microsoft Authentication Library (MSAL) to connect, read and search for FHIR patient data.

Integrate and configure the Microsoft Authentication Library (MSAL) with your JavaScript SPA app to fetch data from protected FHIR web API.

FHIR API collection imported into Postman earlier to obtain the appropriate API request for the patient search query.App Registration of AAD with directory admin access, configure a new Web Platform under Authentication blade
Redirect URI for both local and Azure Web App URLsImplicit Grant by selecting Access token and ID tokensUser_Impersonation permission (if needed)redirectUri property to: http://localhost:3000/.redirectUri property to: <YOUR_AZURE_APP_SERVICE_WEBSITE_URL>.