Skip to content

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

Notifications You must be signed in to change notification settings

mohammedzamakhan/angular2-authentication-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add authentication to an Angular 2 app

This is a sample that shows how you can add authentication to an Angular2 app using the new router :D

Using it

This demo relies on a server, we've created a authentication server demo to get you started. You'll need to clone it, run npm install then npm start. It will run a local server on port 3001.

Then, you can run npm install and npm start on this project. Navigate to http://localhost:3000.

License

MIT

What is Auth0?

Auth0 helps you to:

  • Add authentication with multiple authentication sources, either social like Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, amont others, or enterprise identity systems like Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider.
  • Add authentication through more traditional username/password databases.
  • Add support for linking different user accounts with the same user.
  • Support for generating signed Json Web Tokens to call your APIs and flow the user identity securely.
  • Analytics of how, when and where users are logging in.
  • Pull data from other sources and add it to the user profile, through JavaScript rules.

Create a free account in Auth0

  1. Go to Auth0 and click Sign Up.
  2. Use Google, GitHub or Microsoft Account to login.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.8%
  • HTML 25.8%
  • CSS 1.4%