Thanks goes to these wonderful people who contribute(d) or maintain(ed) this repo (emoji key):
Benjamin Lizardo ๐ป |
Rafael Noguera ๐ป ๐ |
Alexis Luque ๐ป ๐ |
Conrad Sopala ๐ง ๐ |
These samples demonstrate how to create an API with Hapi.js which authenticates incoming requests. The request authenitcation is done by verifying the signature and claims in a JSON Web Token (JWT) signed by Auth0.
These samples do not demonstrate how to sign a JWT but rather assume that a user has already been authenticated by Auth0 and holds an access token for API access. For information on how to use Auth0 to authenticate users, see the docs.
This repo is supported and maintained by Community Developers, not Auth0. For more information about different support levels check https://auth0.com/docs/support/matrix .
Feel like contributing to this repo? We're glad to hear that! Before you start contributing please visit our Contributing Guideline.
Here you can also find the PR template to fill once creating a PR. It will automatically appear once you open a pull request.
Spotted a bug or any other kind of issue? We're just humans and we're always waiting for constructive feedback! Check our section on how to report issues!
Here you can also find the Issue template to fill once opening a new issue. It will automatically appear once you create an issue.
Feel like PRs and issues are not enough? Want to dive into further discussion about the tool? We created topics for each Auth0 Community repo so that you can join discussion on stack available on our repos. Here it is for this one: auth0-hapi-api-samples
This project is licensed under the MIT license. See the LICENSE file for more info.
Auth0 helps you to:
-
Add authentication with multiple authentication sources, either social like
- Microsoft
- GitHub
- Box
- Salesforce
- etc.
or enterprise identity systems like:
- Windows Azure AD
- Google Apps
- Active Directory
- ADFS
- 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 create user identity flow securely
-
Analytics of how, when and where users are logging in
-
Pull data from other sources and add it to user profile, through JavaScript rules
- Go to Auth0 website
- Hit the SIGN UP button in the upper-right corner