Form issues with auth since v2

Describe the problem/error/question

Since v2 (tested with 2.1.0 and 2.2.0) form submissions don’t work anymore when basic auth is enabled.

Same node without auth works.

Tested with 2.1.0 and 2.2.0. Both with queue mode and without, behind aws cloudfront and cloudflared tunnel.

What is the error message (if any)?

Problem submitting response

Please try again or contact support if the problem persists

No stdout error and no error execution is saved.

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.2.0
  • Database (default: SQLite): tested with sqlite and Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker and K8s
  • Operating system:

weird!
just tested with v2.2.1 now and can confirm the same issue when using basic auth!!
probably a bug..

Same problem here:

On the acutal n8n version: 2.1.4 it is no longer working.

Problem, the formular ist opening, i can enter data, click on submit, but then the next form did not get loaded. When i disabel “Basic Auth” all forms work normal. So i can not longer protect my Production Forms.

For your infromation.

Thanks.

Marcel

1 Like

Running into the same issue. Forms stopped working :frowning:

Use of Version 2.0.3 works fine, don´t update until you realy need it. :slightly_smiling_face:

1 Like

Same here. but my problem is in n8n cloud and I can’t roll back. PLease fix this n8n!

Update: in some testing, I have found it to work if you delete the credential completely save and readd it then re-publish. still testing though

Still an issue actually. per n8n: fix: Form trigger and Wait Form mode basic authentication fix for form POST request by michael-radency · Pull Request #23795 · n8n-io/n8n · GitHub

1 Like

Just upgraded to 0.123.11 from 0.113.3 and this has broken all our forms…

It looks like the initial request sends the basic auth Authorization header, but on form submission there’s no Authorization header in the request

exactly. the link to their PR is above.

Cheers! Thankfully getting back ported to the 1.x branch too