How can I disable iframe sandbox for HTML webhook response

Using webhook to receive record id, perform an action, then direct the user to an html page that auto-closes after 5 seconds of action being done, or they can click on a button to close the window.

That doesn’t work, and I assume it’s because of the iframe sandbox.

Looking for a way to revert that to how it was in previous n8n versions.

Although I think this should be a toggle in the respond to webhook node, or added to it’s options..

Current n8n version: 1.108.2

Hi @brahimh

it’s for security accroding to:

However, there’s a new environment variable to disable webhook response iframe sandboxing:
N8N_INSECURE_DISABLE_WEBHOOK_IFRAME_SANDBOX
starting from this version

hope this is what you’re looking for

Thanks for the reply.

I ended up changing the node version of the webhook response node to v1.1 and it worked without changing environment variables..

Just copied the current node, pasted it in a text editor

Changed the version from 1.4 to 1.1

Super simple, but having it on the UI would be 1000% better

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