Forum Discussion
Zebra_131802
Nimbostratus
Sep 18, 2015Client initiated SSO won't log out
I have configured a client initiated SSO to automatically login when the application logon page is detected (/front.action), once successfully logged in the application the URI becomes /portal.action...
Stanislas_Piro2
Cumulonimbus
Sep 21, 2015Hi,
the following code is an example of logout solutions with irules for sharepoint.
when ACCESS_ACL_ALLOWED {
switch -glob [string tolower [HTTP::path]] {
"*/signout.aspx" {
Disconnect session and redirect to APM logout Page
ACCESS::respond 302 noserver Location "/vdesk/hangup.php3"
return
}
"/_layouts/accessdenied.aspx" {
Disconnect session and redirect to APM Logon Page
if {[string tolower [HTTP::query]] contains "loginasanotheruser=true" } {
ACCESS::session remove
ACCESS::respond 302 noserver Location "/"
return
}
}
default {
do nothing
}
}
}the event will raise only when ACCESS_ACL_ALLOWED user is already authenticated.
there is 2 solutions sont close session:
- action ACCESS::session remove which remove session without any redirection. that's why I redirect user to / just after.
- this initiate a new session in APM displaying login page.
- redirect user to /vdesk/hangup.php3 which is APM logout URL.
- this will close the session and display logout page to user.
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