angular2-authentication-sample

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

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者auth0-blog/angular2-authentication-sample
主編程語言JavaScript
編程語言CSS (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2015-04-28 23:51:03
推送於2017-10-17 03:06:39
最后一次提交2016-10-04 19:24:25
發布數1
最新版本名稱0.0.1 (發布於 )
第一版名稱0.0.1 (發布於 )
用户参与
星數1k
關注者數117
派生數333
提交數106
已啟用問題?
問題數54
打開的問題數26
拉請求數23
打開的拉請求數3
關閉的拉請求數6
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?