Describe the problem/error/question
When trying to login via SSO to n8n using entra (microsoft) SAML interface, there is a whitepage for a few second then “401 SAML Authentication failed: timeout exceeded when trying to connect“
Entra says it successfully authenticated us and on their status report there is no indication of a bigger issue
My question is simply (to start with at least) how do you increase the SAML timeout?
What is the error message (if any)?
In the log (which is currently at debug level) says
{“level”:“debug”,“message”:“SAML response is valid”,“metadata”:{“file”:“saml-validator.js”,“function”:“validateXml”,“timestamp”:“2025-12-02T16:44:54.003Z”}}
{“level”:“error”,“message”:“\u001b[31m401 SAML Authentication failed: SAML Authentication failed. Could not parse SAML response. ERR_SUBJECT_UNCONFIRMED\u001b[39m”,“metadata”:{“file”:“response-helper.js”,“function”:“sendErrorResponse”,“timestamp”:“2025-12-02T16:44:54.025Z”}}
Please share your workflow
n/a
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.82.1
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): n/a
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: Windows