⚒️ Validate Auth0 JWT tokens using JWKS or signing cert

1,111 views · ⚒️ Engineering

Description

> 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. Auth0 tokens use the RS256 algorithm.
  2. RS256 JWT credentials in n8n require the user to use private and public keys and not secret phrase.
  3. Auth0 does not give you access to your Auth0 instance private keys.

The solution is to handle JWT validation after the webhook is received using the code node.

How it works

How to use

Requirements

🔗 Nodes Used

Webhook

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup