* Nicolas Toniazzi <
nicolas....@gmail.com> [2021-09-29 16:57]:
> I'll try to describe my problem with the help of a picture.
Sorry, I forgot that a proxy was at play.
(That's a nice and generally applicable illustration of SAML
proxying.)
Obviously, unless the party starting SSO at the IDP adds some
parameter to the (implementation-specific, non-SAML) SSO request *to*
the IDP, there will be no RelayState present once the subject is at
the SP. (And in this case that SP isn't even any of the protected
resources but the SP-side of the SAML proxy.)
For ordinary deployments (i.e., those that don't involve SAML
proxying) that may or may not be a problem as the SP can define a
default 'RelayState' (using the eponymous parameter[1]) where it sends
the subject's browser to when no RelayState is otherwise present.
I have no idea how this would work with SAML proxying where even the
SAML-proxied-SP to send a SAML Reponse to (from the proxy-IDP) would
need to be established (or defaulted, via configuration) in the first
place. I don't know whether SSP current supports that.
-peter
[1]
https://simplesamlphp.org/docs/stable/saml:sp#section_4