* Angus Atkins-Trimnell <
angusat...@sbcglobal.net> [2015-08-16 19:33]:
> My understanding of the flow in IdP-initiated SAML is as follows:
It's fully identical to the normal SP-initiated flow, you're only
replacing a SAML 2.0 specified (standard) authentication request to
> - *(Assumption)* When the user is redirect to the relay state (a
> page in my Web Application), the authentication status and any
> attributes will be available to the page by calling the
> SimpleSAML_Auth_Simple() method, passing in the name of the IdP
> in metadata.
SimpleSAMLphp will create a session with the appropriate data in
it. By default that's an ordinary PHP session, the name of the cookie
as well as the path should be configurable in config/config.php, IIRC.
Obviously that will influence from where you'll be able to access
data structures from that session.
> What I'm really concerned with is this last assumption. Is this a
> proper assumption? Do any special session configuration variables
> need to be set in the metadata or the SP configuration to make this
> information accessible to page indicated in Relay State?
Provided the resource you want to access the data structures from the
session shares the same protocol (HTTPS, ideally) and hostname (FQDN)
as the SP's ACS URL, and the session's path is set to '/' (or
something where SimpleSAMLphp can write the session cookie to, and you
own code can access it) that should Just Work.
-peter