Skip to content
A simple demonstration of using IdentityModel/oidc-client with angular 2
TypeScript JavaScript HTML CSS
Branch: master
Clone or download
jmurphzyo Merge pull request #30 from dannycallaghan/hotfix_usermanager
Fixed references to global Oidc.UserManager
Latest commit 28a8b0b Jun 9, 2017

Angular OidcClient

Angular V4 is here ng v4


Clone the repo

git clone

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.

You can’t perform that action at this time.