Clone the repo
git clone https://github.com/jmurphzyo/Angular2OidcClient.git
Go to the projects root dir.
Install required packages.
I also added a protected route to show how you can use this client to protect routes and redirect to unauthorized pages.
This project was created for demonstration purposes to show how to use the oidc-client that was created by the IdentityModel team. If you have any questions feel free to add it to the issues section. Also if there is something you would like to add to the repo submit a pull request and if it doesn't break anything I will accept it.
Angular CLI Commands
For more information about angular cli see angular-cli.