|
1 | 1 | # App Auth React
|
2 | 2 |
|
3 | | -[App-Auth JS](https://github.com/openid/AppAuth-JS) integration with the Angular App. |
| 3 | +[App-Auth JS](https://github.com/openid/AppAuth-JS) integration with the React App. |
4 | 4 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
5 | 5 |
|
6 | 6 | ## Prerequisites
|
7 | 7 |
|
8 | 8 | 1. Node JS >= 10.x.x
|
9 | | -2. @angular/cli >= 8.3.21 |
10 | 9 | 3. Auth0 client - Currently for I am using auth0.com as a OP Server. Demo should work with every OP Provider.
|
11 | 10 |
|
12 | 11 | ## Configuration
|
13 | 12 |
|
14 | | -Use `environment.ts` to set OP Client configuration. |
| 13 | +Use `environment.js` to set OP Client configuration. |
15 | 14 |
|
16 | | -## Available Scripts |
| 15 | +## Start |
17 | 16 |
|
18 | | -In the project directory, you can run: |
| 17 | +1. Install Dependencies |
19 | 18 |
|
20 | | -### `npm start` |
| 19 | +``` |
| 20 | +npm install |
| 21 | +``` |
21 | 22 |
|
22 | | -Runs the app in the development mode.<br /> |
23 | | -Open [http://localhost:3000](http://localhost:3000) to view it in the browser. |
| 23 | +2. Start Application |
| 24 | + |
| 25 | +``` |
| 26 | +npm start |
| 27 | +``` |
24 | 28 |
|
25 | | -The page will reload if you make edits.<br /> |
26 | | -You will also see any lint errors in the console. |
| 29 | +Runs the app in the development mode.<br /> |
| 30 | +Open [http://localhost:4200](http://localhost:4200) to view it in the browser. |
0 commit comments