Forum Discussion
Sajid
Sep 16, 2019Cirrostratus
Hi Mohammed,
Yes, I have achieved this for ezproxy (SaaS) application with SAML.
You need irule for landinguri
when ACCESS_POLICY_COMPLETED {
switch -glob [string tolower [ACCESS::session data get session.server.landinguri]] {
***************************************************************************
- when HTTP_REQUEST {
- if { ( [HTTP::cookie exists MRHSession] ) and not ( [ACCESS::session exists -state_allow [HTTP::cookie value MRHSession]] ) } {
- if { ( [HTTP::uri] ne [ACCESS::session data get session.server.landinguri] ) and not ( [ACCESS::session data get session.server.landinguri] eq "" ) } {
- HTTP::redirect [ACCESS::session data get session.server.landinguri]
- }
- }
- }
https://clouddocs.f5.com/api/irules/ACCESS_POLICY_COMPLETED.html
K91940158: How to auto-launch SAML SP resources
https://support.f5.com/csp/article/K91940158