Forum Discussion
session awareness saml sp
I have an ASM (v13.0) in front of an application which has a SAML SP role. I would like to use the session awareness feature but I can't find how. No iRule command to have it set in an iRule apparently (I could parse the assertion). Thank you for any tips
Alex
do you mean this session awareness feature: https://support.f5.com/kb/en-us/products/big-ip_asm/manuals/product/asm-implementations-12-0-0/15.html
- amolari
Cirrostratus
yes
i kinda wonder if that will work. from what i recall on session awareness is that ASM has to detect the login process, create a login page configuration for that. with a SP it will redirect to the IdP for the login process. the ASM might see the SAML assertion but not actual login.
my experience with that functionality is limit and the few times i tried the pages weren't create in just the right way for ASM to detect the login.
- Stanislas_Piro2
Cumulonimbus
you can try following steps :
-
In HTTP_REQUEST, on SAML URL
- parse the assertion to extract username (if existing)
- Add HTTP header Authorization with username and a fake password
- In ASM, create a login URL with Basic authentication
-
In HTTP_REQUEST_RELEASE
- remove HTTP header Authorization
let us know if it works!
-
In HTTP_REQUEST, on SAML URL
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