File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,17 @@ The React AAD MSAL library provides the following features:
1515 - create your own function to handle how logout (using this AzureAD component) is trigger in your react app
1616* Optional use of redux store containing the token and user information returned from Active Directory
1717
18+ ## Getting Started
19+ - Build the ` react-aad-msal ` component: ` npm install && npm run build `
20+ - create a ` .env.local ` file, with the following variables:
21+ ```
22+ REACT_APP_AAD_APP_CLIENT_ID=<client id guid>
23+ REACT_APP_AUTHORITY=<authority url (optional)>
24+ ```
25+ - Run the sample application: ` npm install && npm run start `
26+
27+ The sample site should launch in a Web browser.
28+
1829### Prerequisites
1930
2031* Setting up an Azure Active Directory App*
@@ -29,6 +40,7 @@ Documentation for AAD B2C Application:
2940
3041https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-app-registration
3142
43+ <<<<<<< HEAD
3244## Getting Started
3345
3446* NOTE: in order to successfully build and run this sample, be sure to complete the prerequisite steps above.
@@ -44,6 +56,8 @@ An Azure Active Directory application must first be setup and configured.*
4456
4557The sample site should launch in a Web browser.
4658
59+ =======
60+ >>>>>>> Added sample app
4761### Quickstart
4862
49631 . ` git clone [repository clone url] `
You can’t perform that action at this time.
0 commit comments