mike_drennen_16
Jul 22, 2016Cirrus
Bypassing the Webtop to directly access a Portal Access resource via URI
I am having an issue with accessing a Portal Access resource using a URI. I have set this up for other SAML resources before and it works flawlessly, however, when attempting it with a Portal Access resource, it only works if i do not have an open session. If I close the window and attempt to go back in, I get a connection error and have to wait for my current session to time out (or manually kill it). I need to be able to access the Portal Access resource anytime, whether I have a current session or not.
Here is the iRule i am using:
when ACCESS_POLICY_COMPLETED {
if {[ACCESS::session data get "session.server.landinguri"] eq "/mydefineduri"}{
log local0. "Policy Completed"
switch -glob [ACCESS::session data get session.server.network.name] {
"myproductionAPMPolicy.com"
{
ACCESS::respond 302 Location "/f5-w-687474703a2f2f31302e312e332e36$$"
}
}
}
}