File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ Import your store into the file rendering the AzureAD component and pass it in:
123123<AzureAD
124124 reduxStore={store}
125125 clientID={' < Application ID for your application> ' }
126- scopes={[' https: // <your-tenant-name>.onmicrosoft.com/<your-application-name>/demo.read']}
126+ scopes={[' < property ( i . e . user . read ) > ' , ' https: // <your-tenant-name>.onmicrosoft.com/<your-application-name>/<scope (i.e. demo.read)> ']}
127127 unauthenticatedFunction= {this .loginCallback }
128128 authenticatedFunction= {this .logoutCallback }
129129 userInfoCallback= {this .printUserInfo }
Original file line number Diff line number Diff line change @@ -13,23 +13,7 @@ This repository contains a sample react application that demonstrates how to use
1313 - [ Documentation for AAD Application] ( https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal )
1414 - [ Documentation for AAD B2C Application] ( https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-app-registration )
1515
16-
17- ## Getting Started
18-
19- * NOTE: in order to successfully build and run this sample, be sure to complete the prerequisite steps above.
20- An Azure Active Directory application must first be setup and configured.*
21-
22- - Build the ` react-aad-msal ` component: ` npm install && npm run build `
23- - create a ` .env.local ` file, with the following variables:
24- ```
25- REACT_APP_AAD_APP_CLIENT_ID=<client id guid>
26- REACT_APP_AUTHORITY=<authority url (optional)>
27- ```
28- - Run the sample application: ` npm install && npm run start `
29-
30- The sample site should launch in a Web browser.
31-
32- ### Quickstart
16+ ### Installation and Quickstart
3317
34181 . ` git clone https://github.com/Azure-Samples/react-aad-msal.git `
35192 . ` cd react-aad-msal `
You can’t perform that action at this time.
0 commit comments