Forum Discussion
apm logout uri not working with javascript...
Have you tried to put loggout uri in "Logout URI Include" setting inside APM policy?
yes, and also a tried a access::session remove irule that triggers on a specific uri.
- Injeyan_KostasFeb 23, 2026
Nacreous
So APM session does terminated but IDP remains right?
- kimhenriksenFeb 23, 2026
Cirrocumulus
I´d say neither of them get terminated, as the javascript just sends it´s GET /uri and doesnt follow through with the POST saml slo url..
- Injeyan_KostasFeb 23, 2026
Nacreous
i rule with "access::session remove" should terminate the APM session
are you sure it doesn't?for actual solution you should somehow trigger browser redirect
have not test it but something like this might workwhen HTTP_REQUEST { if { [string tolower [HTTP::path]] eq "/logout" } { set html {<!doctype html> <html> <head><meta charset="utf-8"><title>Logging out...</title></head> <body> <script> window.location.replace("/my.logout.php3"); </script> </body> </html>} HTTP::respond 200 content $html "Content-Type" "text/html" "Cache-Control" "no-store" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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