OAuth Redirect URL changing

Describe the issue/error/question

On n8n desktop the oAuth Redirect URL for most nodes keeps changing, is this a limitation of Desktop?

What is the error message (if any)?

Please share the workflow

Share the output returned by the last node

{“name”:“NodeOperationError”,“cause”:{},“node”:{“parameters”:{“authentication”:“oAuth2”,“resource”:“message”,“operation”:“post”,“channel”:“personal-assistant-bot”,“text”:“”,“jsonParameters”:false,“attachments”:[{“title”:“=Todays Forecast”,“text”:“=:{{$node["OpenWeatherMap"].json["weather"][0]["icon"]}}: | {{$node["OpenWeatherMap"].json["weather"][0]["main"]}} - {{$node["OpenWeatherMap"].json["name"]}}\nCurrent Temp: {{$node["OpenWeatherMap"].json["main"]["temp"]}}\nLow: {{$node["OpenWeatherMap"].json["main"]["temp_min"]}}\nHigh: {{$node["OpenWeatherMap"].json["main"]["temp_max"]}}”},{“title”:" :speaker: Heardle",“text”:“https://heardle.app”}],“otherOptions”:{“icon_url”:“https://i.ibb.co/6NdP3tX/robot.png",“link_names”:true,“mrkdwn”:true},“blocksUi”:{“blocksValues”:[{“type”:“section”,“blockId”:“cal”,“textUi”:{“textValue”:{“type”:“mrkwdn”,“text”:":calendar: What’s on today”,“verbatim”:false}},“fieldsUi”:{},“accessoryUi”:{“accessoriesValues”:{“type”:“button”,“text”:“:calendar: View Calendar”,“emoji”:true,“actionId”:“view_cal”,“url”:“https://calendar.google.com/calendar/u/0/r",“value”:“”,“style”:“default”,“confirmUi”:{}}}},{“type”:“section”,“blockId”:“cal_message”,“textUi”:{“textValue”:{“type”:“mrkwdn”,“text”:"={{$node["Calendar Compile Function"].json["calMessage"]}}”,“verbatim”:false}},“fieldsUi”:{},“accessoryUi”:{}},{“type”:“section”,“blockId”:“asana”,“textUi”:{“textValue”:{“type”:“mrkwdn”,“text”:“:asana: Asana Tasks”,“verbatim”:false}},“fieldsUi”:{},“accessoryUi”:{“accessoriesValues”:{“type”:“button”,“text”:“:asana: View Asana”,“emoji”:true,“actionId”:“view_asana”,“url”:“Log in - Asana{{$node["List Compile & Message Construct"].json["asanaMessage"]}}”,“verbatim”:false}},“fieldsUi”:{},“accessoryUi”:{}},{“type”:“section”,“blockId”:“weather”,“textUi”:{“textValue”:{“type”:“mrkwdn”,“text”:“=Todays Forecast”,“verbatim”:false}},“fieldsUi”:{},“accessoryUi”:{“accessoriesValues”:{“type”:“button”,“text”:“=:{{$node["OpenWeatherMap"].json["weather"][0]["icon"]}}: Weather”,“emoji”:true,“actionId”:“view_weather”,“url”:“Weather forecast - OpenWeatherMap - Slack”,“type”:“n8n-nodes-base.slack”,“typeVersion”:1,“position”:[3760,900],“credentials”:{“slackOAuth2Api”:{“id”:“31”,“name”:“[ITS] Slack account”}}},“timestamp”:1648162471939,“message”:“Slack error response: {"ok":false,"error":"token_expired"}”}

Information on your n8n setup

Desktop 0.169.0

Hey @yelsew, yes, n8n desktop uses a special tunnel to allow external services to send data to your local n8n instance. The underlying service is described here.

It can break easily when for example your WiFi connection is interrupted. If your webhook or OAuth URLs aren’t available anymore after such an interruption, I’d first try a restart.

Hello.

Would the OnPremise installation via Docker would be also affected by this daily change ?

Hi @Jean-Rene_Robin, welcome to the community :tada:

For a self-hosted instance you’d typically register a permanent domain (something like n8n.yourcompany.com for example). So unless you specifically enable the tunnel service this isn’t something you’d see in your on premise environment.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.