Validate Auth0 JWT tokens using JWKS or signing cert
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- Using JWK-RSA (Code): runs custom JavaScript code
- Using Public Cert (Code): runs custom JavaScript code
- 401 Unauthorized (Respond to Webhook): sends the response back to the webhook caller
- 401 Unauthorized (Respond to Webhook): sends the response back to the webhook caller
- 200 OK (Respond to Webhook): sends the response back to the webhook caller
- 200 OK (Respond to Webhook): sends the response back to the webhook caller
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - No Operation, do nothing
n8n-nodes-base.noOp
From the author
> Note: This template requires a self-hosted community edition of n8n. Does not work on cloud. Try It Out This n8n template shows how to validate API requests with Auth0 Authorization tokens. Auth0 doesn't work with the standard JWT auth option because: 1)…