Describe the problem/error/question
I’m trying to connect Inoreader to my self-hosted n8n instance using OAuth2, but the connection fails after I approve the authorization. The Inoreader auth page opens correctly, I click “Allow”, but then I get an ngrok error saying the endpoint is offline.
Setup context:
-
Self-hosted n8n via Docker on macOS
-
Using ngrok (free tier) to expose localhost
-
Goal: Build a workflow that fetches Inoreader articles → processes with local Ollama → sends email/slack summary
What is the error message (if any)?
{"status":"error","message":"Unauthorized"}.
This happens immediately after clicking “Allow” on the Inoreader authorization page.
Please share your workflow
No workflow created yet - stuck at the credential connection step. Once OAuth works, the planned workflow is:
-
Trigger: Schedule (daily at 1 AM)
-
HTTP Request: Fetch new articles from Inoreader API
-
HTTP Request: Send article to local Ollama (Gemma model)
-
Send Email: Summary from Ollama
Configuration Details
Docker command:
docker run -d \
--name n8n \
-p 5678:5678 \
-e WEBHOOK_URL=https://my-url.ngrok-free.dev \
-e GENERIC_TIMEZONE=Europe/Berlin \
-v n8n_data:/home/node/.n8n \
n8nio/n8n
ngrok:
ngrok http 5678
Inoreader Developer App:
-
Redirect URL:
https://my-url.ngrok-free.dev/rest/oauth2-credential/callback -
OAuth scope:
read write -
Platform: Web
n8n OAuth2 API Credential:
-
Grant Type: Authorization Code
-
Authorization URL:
https://www.inoreader.com/oauth2/auth -
Access Token URL:
https://www.inoreader.com/oauth2/token -
Scope:
read write -
Authentication: Body
-
OAuth Redirect URL (auto-generated in n8n):
https://my-url.ngrok-free.dev/rest/oauth2-credential/callback
What I’ve Already Tried
-
Verified redirect URLs match exactly between Inoreader and n8n
-
Confirmed ngrok is running - can access n8n via the ngrok URL
-
Set WEBHOOK_URL environment variable to ngrok URL
-
Initially tried N8N_TUNNEL_MODE=true but no tunnel URL was generated (only
http://localhost:5678in logs) -
Switched to ngrok as recommended in various threads
Questions
-
Why does the OAuth callback fail when ngrok is clearly running?
-
Is there a known issue with ngrok free tier and OAuth redirects?
-
What’s the recommended setup for testing OAuth integrations with self-hosted n8n?
-
Should I use a different tunneling solution?
Information on your n8n setup
-
n8n version: 2.4.4 (latest Docker image)
-
Database (default: SQLite): SQLite (default)
-
n8n EXECUTIONS_PROCESS setting (default: own, main): Default (own)
-
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
-
Operating system: macOS (Apple Silicon)
Thanks for your help!