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:
15
15
- create your own function to handle how logout (using this AzureAD component) is trigger in your react app
16
16
* Optional use of redux store containing the token and user information returned from Active Directory
17
17
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
+
18
29
### Prerequisites
19
30
20
31
* Setting up an Azure Active Directory App*
@@ -29,6 +40,7 @@ Documentation for AAD B2C Application:
29
40
30
41
https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-app-registration
31
42
43
+ <<<<<<< HEAD
32
44
## Getting Started
33
45
34
46
* 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.*
44
56
45
57
The sample site should launch in a Web browser.
46
58
59
+ =======
60
+ >>>>>>> Added sample app
47
61
### Quickstart
48
62
49
63
1 . ` git clone [repository clone url] `
You can’t perform that action at this time.
0 commit comments