jmurphzyo / Angular2OidcClient

A simple demonstration of using IdentityModel/oidc-client with angular 2
GNU General Public License v3.0
108 stars 40 forks source link

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.