This is an example to illustrate how to verify a token via a jwks endpoint. To ensure you have a valid token to use, go to APIs > Your API > Test. A test token will be generated for you.
- Copy
.env_example
to.env
:cp .env_example .env
- Update the DOMAIN value to your Auth0 Tenant
- Get a test token from your management dashboard
- go to APIs
- Select your API
- Select the Test tab
- Update the TOKEN value in the
.env
file - Run
node index.js