This is a sample that shows how you can add authentication to an Angular2 app using the new router :D
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.
MIT
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.
- Go to Auth0 and click Sign Up.
- Use Google, GitHub or Microsoft Account to login.