- Notifications
You must be signed in to change notification settings - Fork333
This is a sample that shows how to add authentication to an Angular 2 (ng2) app
License
auth0-blog/angular2-authentication-sample
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This sample shows how to create an angular 2 app that:
- Haslots of different routes
- Performsauthentication with JWTs
- Calls APIs authenticated and not.
- Extends theRouterOutlet for route pipeline changes.
You canlearn more about how it works in the following blogposts
- Angular 2 Authentication Tutorial
- Protecting Routes using Guards in Angular 2
- Angular 2 authentication revisited
Clone this repository as well asthe server for this example.
First, run the server app in the port3001.
Then, runnpm install on this project and runnpm start to start the app. Then just navigate tohttp://localhost:3000 💥Usenpm run server to run API server.
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. TheResponsible Disclosure Program details the procedure for disclosing security issues.
This project is licensed under the MIT license. See theLICENSE file for more info.
About
This is a sample that shows how to add authentication to an Angular 2 (ng2) app
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors12
Uh oh!
There was an error while loading.Please reload this page.