APM Multi-domain configuration, log off page redirect
Hello
I have a multi-domain SSO configuration set up. If a user logs into an APM protected VS (for example mail.company.com, in this case for OWA), he is redirected to the main portal to authenticate (portal.company.com), then gets redirected to the back end app he initially requested. This works great. Now if this user logs out of OWA, he is displayed the logout page for this app's VS - https://mail.company.com/vdesk/hangup.php3. I would like to have the user redirected to the logout page for the main portal (https://portal.company.com/vdesk/hangup.php3) instead. To make this happen I tried the following iRule, but it doesn't work. It seems that after logout, this URI is not detected.
when ACCESS_ACL_ALLOWED {
if { [HTTP::uri] equals "/vdesk/hangup.php3" } {
log local0. "Redirecting to main portal logout page."
ACCESS::respond 302 Location "https://portal.company.com/vdesk/hangup.php3" Connection close
}
}
Can anyone give me some advice as to how I can get this to work?
Thanks Tony