Forum Discussion
joesnyder_13328
Nimbostratus
Jun 19, 2014SAML Idp-Initiated Connections
I am new to the whole SAML thing and have been playing around with it. I have setup my saleforce dev account to work with our BigIp device and it works perfectly. Since I am still super new to this b...
MiLK_MaN
Nimbostratus
Feb 19, 2015This iRule should work for both SP initiated and IdP initiated SAML IdP scenarios:
when ACCESS_POLICY_COMPLETED {
if { [ACCESS::session data get session.server.landinguri] == "/saml/idp/profile/redirectorpost/sso" } {
log local0. "SP initiated SAML detected, not sending redirect"
} else {
ACCESS::respond 302 Location "/saml/idp/res?id=[ACCESS::session data get session.assigned.resources.saml]"
log local0. "IDP initiated SAML detected, sending redirect"
}
}
jerebrad_302050
Nimbostratus
Jan 26, 2017This worked for me. Just add this iRule to the VIP and not in the Access Policy VPE.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
