Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mendhak/angular-dynamic-configuration-with-auth0
Angular application. With dynamic configuration loaded from an API call. With Auth0 integration secured API requests.
https://github.com/mendhak/angular-dynamic-configuration-with-auth0
angular auth0 dynamic jwt
Last synced: about 2 months ago
JSON representation
Angular application. With dynamic configuration loaded from an API call. With Auth0 integration secured API requests.
- Host: GitHub
- URL: https://github.com/mendhak/angular-dynamic-configuration-with-auth0
- Owner: mendhak
- Created: 2020-10-23T11:25:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-23T18:21:55.000Z (over 4 years ago)
- Last Synced: 2024-10-31T15:47:48.812Z (3 months ago)
- Topics: angular, auth0, dynamic, jwt
- Language: TypeScript
- Homepage:
- Size: 182 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sample repo for [the writeup here](https://code.mendhak.com/angular-dynamic-configuration-with-auth0/)
## To quickly try the application
Create a host file entry.
```
127.0.0.1 frontend.example
```Run the frontend application
```
npm --prefix frontend start
```In a separate terminal window, run the API
```
npm --prefix api start
```Browse to https://frontend.example:4200/. Try logging in/sign up.
Watch the network tab in developer tools for:
* /api/uiconfig - dynamically loaded configuration for the Angular application
* authorize and token - for ID and Access Tokens
* /api/protected - secure API calls being made with Authorization headers