on 2024 Sep 16 2:23 PM
I’m facing an issue while setting up a SAMLAssertion destination in SAP BTP. I’m encountering a 431 status code when checking the connection for the destination. The 431 status code stands for "Request Header Fields Too Large". This error indicates that the request headers being sent to the server are exceeding its size limits. In my case, this is happening while using SAMLAssertion as the authentication method for an SAP destination.
From what I understand, SAML tokens can sometimes become quite large, and this can cause issues when they are passed in the request headers. However, I’m not sure how to proceed in resolving the issue.
I’ve done some research, but I haven’t come across a definitive solution yet. I’m reaching out to the community to see if anyone has encountered a similar problem and managed to resolve it.
Any advice or suggestions would be greatly appreciated!
Destination
Fiori Genrator
Dealing with a 431 status code while using SAMLAssertion in SAP is proving to be quite a challenge. I’d love to hear from anyone who has tackled this issue or has insights into potential solutions.
Request clarification before answering.
Hi,
We faced the same issue and applied the suggestion of Gregor by making the saml assertion token smaller. We achieved this by limiting the user groups or ad groups in the saml ticket depending on the connected system. We provide a unique identifier to the company idp that will be used to only return a subset of ad groups instead of all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.