Hello,
I’m trying to replace a Shibboleth SP with APM (SAML SP.) In some use cases it works as a charm, but for other use cases I can’t figure out how to make it work. One of the use cases I’m stuck with is web applications that decide on their own when to trigger SAML auth (apps that support many auth schemas for example or that has some public, non protected content) With Shibboleth SP (linked to a Apache webserver) I can configure two things :
- set “requireSession off” in the vhost configuration.
- set handlerURL=/Shibboleth.sso in the shibboleth2.xml
When client request goes through Apache it gets directly handed to the application and SAML magic is bypassed. When the application wants to trigger an SAML auth, it redirects the user to the /Shibboleth.sso context (the one corresponding to handlerURL in shibboleth2.xml) SAML SP kicks in and the magic happens (go to IdP, back to the SP, have access, etc) It even continues to track the SAML session on any subsequent requests
I’ve read most of the SAML APM’s documentation and I can’t seem to find the trick. I have few to no control over the applications. All we have to be in common is the magic context (/Shibboleth.sso) that makes the SAML kicks in. For example I can’t know for sure which contexte need to be protected and which not.
For me, SAML SP is either activated or not in APM, I can’t find anything close to conditional trigger. Any help is appreciated.