Skip to content

oren/angular-token-auth

 
 

Repository files navigation

## angular-token-auth

Example of Token-based authentication in AngularJS with Express.

Run with Docker

fig up
curl -i -H 'Content-Type: application/json' -d '{"username": "john.doe", "password": "foobar"}' "localhost:8080/authenticate"
verify here: http://jwt.io   secret: this is the secret secret secret 12356

Run without Docker

npm install
node auth.server.js

and go to localhost:8080.

More advanced scenarios?

For a complete example handling social providers, enterprise authentication with LDAP/Active Directory, and user/password, check out Auth0 Angular integration.

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.

About

Token-based authentication in AngularJS

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 79.9%
  • HTML 19.2%
  • Shell 0.9%