30-Nov-2020 00:29
Hi,
I have F5 LTM+APM in 14.1.2 version with ADFS integration through SAML.
I would like to use the variable %{session.saml.last.attr.name.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress} but it's always empty. However, I see my email in the Access Report. Therefore, this variable has a value but I can't use it in the VPE.
I've printed the variable with a logging box and it's also empty. On the other hand, the variable %{session.saml.last.identity} works. I can print and use it.
F5 APM supports session variable names with special characters? How can I use it?
Thanks, best regards.
13-Dec-2020 10:58
Hello Dromerot.
Have you tried with an iRule?
when HTTP_REQUEST {
set email [ACCESS::session data get "session.saml.last.attr.name.{http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress}"]
log local0. "SAML email: $email"
}
Regards,
Dario