Google Cloud Run JWT Auth Token Manager (Sub-Workflow) - n8n Workflow | Neura Market
Google Cloud Run JWT Auth Token Manager (Sub-Workflow)
Reusable sub-workflow that validates and refreshes JWT id_tokens for secure Google Cloud Run API calls, with automatic token reuse and exchange using service account credentials.
This sub-workflow provides a lightweight, reusable authentication layer for calling Google Cloud Run services from n8n. It checks if an incoming id_token is present and valid (with a 5-minute buffer). If valid, it passes it through; otherwise, it signs a short-lived JWT using your service account private key, exchanges it at Google's OAuth token endpoint, and returns a fresh id_token. It also forwards the service_url and optional service_path for immediate use in the calling workflow.
Ideal for
Platform
n8n
Category
Travel
Price
$12.99
Creator
QualityWorkflows
Google Cloud
Cloud Run
JWT
Authentication
Token Management
Security
OAuth
API Integration
n8n Sub-workflow
DevOps
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.