noahvans / Angular2OidcClient

A simple demonstration of using IdentityModel/oidc-client with angular 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A simple demonstration of using IdentityModel/oidc-client with angular 2

License:GNU General Public License v3.0


Languages

Language:TypeScript 69.5%Language:JavaScript 17.2%Language:HTML 12.0%Language:CSS 1.2%