Forum Discussion
APM Access Policy -- Logout URI include
I have configured SSO and it works nicely except I cant logout!
Attempted defining this entry: Include Logout URI. But it just wont take my parameters.
The logout button points to "" so I entered "/index.php?logout=true". It just refused to accept. Any suggestion is much appreciated. Thanks.
It's a known issue. You may want to use an iRule as work around
when HTTP_REQUEST { if { [HTTP::uri] equals "/index.php?logout=true" } { HTTP::redirect https://[HTTP::header host]/vdesk/hangup.php3 } }
9 Replies
- scsp_177450
Nimbostratus
It kept saying this: Configuration error: Configured URI (/index.php?logout=true) is not allowed to contain query parameter - kunjan_118660
Cumulonimbus
It's a known issue. You may want to use an iRule as work around
when HTTP_REQUEST { if { [HTTP::uri] equals "/index.php?logout=true" } { HTTP::redirect https://[HTTP::header host]/vdesk/hangup.php3 } }- scsp_177450
Nimbostratus
Hi Kunjan. Thanks. I was using redirect. But I think this is cleaner. It works well. Thanks! - amolari
Cirrostratus
IMHO using an irule here is not an equivalent. The session on the backend won't be logged out, only the APM session.
- kunjan
Nimbostratus
It's a known issue. You may want to use an iRule as work around
when HTTP_REQUEST { if { [HTTP::uri] equals "/index.php?logout=true" } { HTTP::redirect https://[HTTP::header host]/vdesk/hangup.php3 } }- scsp_177450
Nimbostratus
Hi Kunjan. Thanks. I was using redirect. But I think this is cleaner. It works well. Thanks! - amolari
Cirrostratus
IMHO using an irule here is not an equivalent. The session on the backend won't be logged out, only the APM session.
- amolari
Cirrostratus
As written by Kunjan, it's a known issue: query parameter not supported (bug).
Bug 226360 - [APM] Allow Query parameters in “Logout URI Include” field in access profilehopefully soon fixed
- kunjan
Nimbostratus
As amolari rightfully pointed out it won't remove the back end server session. Can we handle it in the response?
when HTTP_REQUEST { if { [HTTP::uri] equals "/index.php?logout=true" } { set KO 1 } } when HTTP_RESPONSE { if {[info exists KO] and $KO } { HTTP::redirect /vdesk/hangup.php3 } }
Recent Discussions
Related Content
* 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
