IdP v4 saml response size

Peter Schober peter.schober at univie.ac.at
Fri Mar 5 10:25:47 UTC 2021


* Martin Haase <Martin.Haase at DAASI.de> [2021-03-05 08:53]:
> Regarding attributes, there is no option to send less. Any other
> ideas?

Well, what is it about IDPv4 that made the response bigger?

Not signing certainly certainly isn't an option (though maybe moving
the signaure elsewhere, if Response then sign the Assertion or vice
versa) avoids this?

Not encrypting (as that should also include the cert the IDP
encrytpted it to) and relying on TLS only might be acceptable and
probably has the largest potential for size reduction.

Use the backchannel (attribute queries, artifacts)?
Using the HTTP-POST-SimpleSign protocol binding might also change this
a bit but if they support that they'd very likely be running a
Shibboleth SP and that has no issues with response sizes to begin
with.

Do they look at the NameID? If not maybe not sending one makes a difference.
Do they check NameFormats of attributes? Not sure the IDP can be made
to not send them in case they don't.
Depending on how many Bytes you'll need to save maybe changing to
"basic" attribute names will bring you back below the threshold?

-peter


More information about the users mailing list