Forum Discussion
irule to detect forms authentication
Im in need of a bit of help.
I have completing SSO via forms based authentication. The response from the from is a json message, advising the client to redirect to a new URL.
When setting up the form, there isn't to option to inspect a json payload, but I am assuming I could complete this using an irule?
In short, I want to receive the following json:
{
"redirectUri": "https://url.goes.here/",
"data": ""
}
and redirect to a known url
If the json received is different to what I am expecting, I want to terminate the APM session.
Open to all ideas and suggestions.
Thanks
Try playing with "HTTP::payload" to just match the payload in the HTTP_RESPONSE and if it is not the correct string drop or redirect to another (you select what to do).
https://clouddocs.f5.com/api/irules/HTTP__payload.html
https://support.f5.com/csp/article/K07535385
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