Reddit OAuth works until Approve → n8n OAuth Callback returns 403 Forbidden

Hi everyone,
I’m trying to connect Reddit OAuth in n8n Cloud, but I’m stuck with a 403 Forbidden error after approving access.
What’s happening:
I click “Connect” in n8n Reddit credentials
Reddit authorization page opens correctly
I log in and click Allow
After approval, the browser redirects to n8n’s OAuth callback URL
n8n shows:
Error: 403
{
“message”: “Forbidden”,
“error”: 403
}
and says: “Failed to connect. The window can be closed now.”
I’ve attached screenshots of:
Reddit approval page (successful)
n8n OAuth callback page showing 403 error
Any help or guidance would be appreciated

Thanks!

Error: 403
{
  "message": "Forbidden",
  "error": 403
}
and says: “Failed to connect. The window can be closed now.”


This 403 Forbidden error on the OAuth callback is almost always caused by a redirect URI mismatch between your Reddit app configuration and n8n’s expected callback URL.

Root Cause

Reddit successfully authenticates you, but when it tries to redirect back to n8n Cloud’s OAuth callback, Reddit or n8n rejects the request because the redirect URI doesn’t match exactly.

Solution Steps

1. Verify Your Reddit App Configuration

Go to reddit.com/prefs/apps and check your app:

Critical Settings:

  • App Type: Must be “web app” (NOT “script”)
  • Redirect URI: Must be EXACTLY the n8n Cloud callback URL

For n8n Cloud, the redirect URI should be:

https://helloproject.app.n8n.cloud/rest/oauth2-credential/callback

2. Check Your n8n Credential Configuration

In n8n:

  1. Go to CredentialsReddit OAuth2 API
  2. Check the OAuth Callback URL shown at the bottom
  3. Copy it EXACTLY (including https://, no trailing slash)
  4. Paste into Reddit app’s Redirect URI field

3. Common Mistakes That Cause 403

:cross_mark: Wrong: http:// instead of https://
:cross_mark: Wrong: Extra trailing slash /
:cross_mark: Wrong: Using “script” app type instead of “web app”
:cross_mark: Wrong: Mixing up Client ID and Client Secret
:cross_mark: Wrong: Old/cached Reddit app credentials

Correct: Exact match, https, web app type

4. Quick Fix

  1. Delete your existing Reddit app on reddit.com/prefs/apps
  2. Create a new app:
    • Name: “n8n Integration”
    • Type: web app
    • Description: “n8n automation”
    • About URL: https://n8n.io
    • Redirect URI: https://helloproject.app.n8n.cloud/rest/oauth2-credential/callback
  3. Copy the new Client ID (under the app name)
  4. Copy the Client Secret
  5. Create new Reddit credentials in n8n with these values
  6. Try connecting again

Additional Troubleshooting

If still getting 403:

  • Clear browser cache and cookies for reddit.com
  • Try in incognito/private window
  • Check if your Reddit account has 2FA enabled (shouldn’t block, but worth noting)
  • Verify you’re using the correct n8n Cloud instance URL in redirect URI

Why This Happens

Reddit’s OAuth is very strict about redirect URI matching. Even small differences (http vs https, trailing slash, subdomain) will cause a 403. The error happens AFTER successful authentication because Reddit validates the redirect URI when sending you back to n8n.

I’ve set up dozens of OAuth integrations for clients - Reddit is particularly strict compared to Google/Microsoft. The key is ensuring the redirect URI in Reddit EXACTLY matches what n8n shows.

Let me know if you’re still stuck after trying these steps!

Sir Try this:

  1. Check your Reddit app settings
    • Go to Reddit Apps.
    • Ensure the app type is Web App (not “Installed” or “Script”).
    • Set the redirect URI to the exact value n8n Cloud shows when you create Reddit credentials (usually something like ).
    • Save changes.
  2. Verify credentials in n8n
    • In n8n Cloud, open your Reddit credentials.
    • Make sure the Client ID and Client Secret match what Reddit provides.
    • Reconnect and authorize again.
  3. Avoid the “User” resource bug
    • If you’re testing with the Reddit node, avoid using the “User” resource until the bug is patched. Instead, try “Post” or “Subreddit” resources to confirm the credentials work.
  4. Check scopes
    • Reddit often requires scope for OAuth. Make sure your app includes it.
    • If you’re trying to post or read private data, add the relevant scopes (, , etc.).