Skip to content

Angular application. With dynamic configuration loaded from an API call. With Auth0 integration secured API requests.

Notifications You must be signed in to change notification settings

mendhak/angular-dynamic-configuration-with-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample repo for the writeup here

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

About

Angular application. With dynamic configuration loaded from an API call. With Auth0 integration secured API requests.

Topics

Resources

Stars

Watchers

Forks