Templates / Host your own JWT authentication system with Data Tables and token management

Host your own JWT authentication system with Data Tables and token management

Ready for 3.0

by Luka Zivkovic ✓ · 3,756 views · created 2025-10-14 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 63 nodes and runs when an HTTP POST request hits its webhook URL (plus 4 other triggers). It uses only n8n's built-in nodes.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 4 other triggers).

  1. Process login webhook (Edit Fields (Set)): sets 2 fields: email, password
  2. Parse Register Request (Edit Fields (Set)): sets 3 fields: email, username, password
  3. Process Refresh Token (Edit Fields (Set)): sets 1 field: refresh_token
  4. Process Verify Token Webhook (Edit Fields (Set)): sets 1 field: access_token
  5. Parse JWT (Code): runs custom JavaScript code
  6. SET ACCESS AND REFRESH SECRET (Edit Fields (Set)): sets 2 fields: ACCESS_SECRET, REFRESH_SECRET
  7. Validate Registration Request (Code): runs custom JavaScript code
  8. SET ACCESS AND REFRESH SECRET (Edit Fields (Set)): sets 2 fields: ACCESS_SECRET, REFRESH_SECRET
  9. SET ACCESS AND REFRESH SECRET (Edit Fields (Set)): sets 2 fields: ACCESS_SECRET, REFRESH_SECRET
  10. Verify Input (Code): runs custom JavaScript code

…plus 48 more steps. See the full node list below.

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (9)

From the author

Description A production-ready authentication workflow implementing secure user registration, login, token verification, and refresh token mechanisms. Perfect for adding authentication to any application without needing a separate auth service. Get started…

Excerpt from Luka Zivkovic's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.