angular2-authentication-sample

This is a sample that shows how to add authentication to an Angular 2 (ng2) app

  • Owner: auth0-blog/angular2-authentication-sample
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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 :boom:
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.

Main metrics

Overview
Name With Ownerauth0-blog/angular2-authentication-sample
Primary LanguageJavaScript
Program languageCSS (Language Count: 4)
Platform
License:MIT License
所有者活动
Created At2015-04-28 15:51:03
Pushed At2017-10-16 19:06:39
Last Commit At2016-10-04 07:24:25
Release Count1
Last Release Name0.0.1 (Posted on )
First Release Name0.0.1 (Posted on )
用户参与
Stargazers Count1k
Watchers Count117
Fork Count334
Commits Count106
Has Issues Enabled
Issues Count54
Issue Open Count26
Pull Requests Count23
Pull Requests Open Count3
Pull Requests Close Count6
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private