APM SAML IdP - SP Issuer Extraction
Published Apr 06, 2016
Version 1.0Was this article helpful?
you can't deflate in an irule (that I know of)
You need to urldecode, deflate & base64decode when the SAML SP uses Redirect Binding
I used this to get started and then found out I needed deflate.
set get_payload_data [b64decode [URI::decode [URI::query [HTTP::uri] SAMLRequest]]]
Also, I needed to update the original irule here because some SP's Auth request looked like this..
saml2:issuer
.. which didn't match so I changed to..
set SAML_Issuer_loc [string first ":issuer" [string tolower $SAMLdata]]