Angular2OidcClient
Angular2OidcClient copied to clipboard
A simple demonstration of using IdentityModel/oidc-client with angular 2
Angular OidcClient
Angular V4 is here ng v4
Setup
Clone the repo
git clone https://github.com/jmurphzyo/Angular2OidcClient.git
Go to the projects root dir.
cd Angular2OidcClient
Install required packages.
npm i
Additonal Info
I also added a protected route to show how you can use this client to protect routes and redirect to unauthorized pages.
Side Notes
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.