Auth0 Community OSS: auth0-hapi-api-samples

Auth0 Hapi API Samples

These samples demonstrate how to create an API with Hapi.js which authenticates incoming requests. The request authentication 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.

Let us know if you have any questions about the tool hosted in the repo either here or in the issues / PRs section of the repo!