Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
fastify-auth0-verify
Advanced tools
Auth0 verification plugin for Fastify.
Internally this is a lighweight wrapper around fastify-jwt-jwks and accepts most of the same options. The differences are highlighted in this document. Refer to the documentation in the fastify-jwt-jwks repository for general usage.
Just run:
npm install fastify-auth0-verify --save
The configuration options for this plugin are similar to those in fastify-jwt-jwks, except that this package accepts a domain
option instead of jwksUrl
:
domain
: The Auth0 tenant domain. It enables verification of RS256 encoded JWT tokens. It is also used to verify the token issuer (iss
). Either provide a domain (domain.com
) or the full URL, including the trailing slash (https://domain.com/
).See CONTRIBUTING.md
Tests are currently split into unit and integration. Integration tests need the following environment variables:
Env var | |
---|---|
AUTH0_DOMAIN | Auth0 dashboard -> application -> Settings -> Domain |
AUTH0_CLIENT_ID | Auth0 dashboard -> application -> Settings -> Client ID |
AUTH0_CLIENT_SECRET | Auth0 dashboard -> application -> Settings -> Client Secret |
AUTH0_API_AUDIENCE | Auth0 application identifier |
Copyright NearForm Ltd. Licensed under the Apache-2.0 license.
FAQs
Auth0 verification plugin for Fastify
The npm package fastify-auth0-verify receives a total of 12,803 weekly downloads. As such, fastify-auth0-verify popularity was classified as popular.
We found that fastify-auth0-verify demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.