Skip to content

auth0-blog/angular2-authentication-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3d5f962 Â· Oct 4, 2016
Apr 18, 2016
Oct 2, 2016
Jan 8, 2016
Jun 9, 2015
Oct 19, 2015
Jun 9, 2015
Jan 8, 2016
Jun 24, 2016
Oct 2, 2016
Jan 8, 2016
Oct 2, 2016
Jun 24, 2016
Feb 26, 2016
Jan 8, 2016
Jan 8, 2016
Oct 2, 2016

Repository files navigation

Angular 2: Authentication sample.

This sample shows how to create an angular 2 app that:

  • Has lots of different routes
  • Performs authentication with JWTs
  • Calls APIs authenticated and not.
  • Extends the RouterOutlet for route pipeline changes.

You can learn more about how it works in the following blogposts

Running it

Clone this repository as well as the server for this example.

First, run the server app in the port 3001.

Then, run npm install on this project and run npm start to start the app. Then just navigate to http://localhost:3000 💥 Use npm run server to run API server.

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

Author

Auth0

License

This project is licensed under the MIT license. See the LICENSE file for more info.