[keycloak-dev] passing saml authentication context to custom authenticator

Gideon Caranzo gideonray at gmail.com
Fri Nov 30 18:49:21 EST 2018


Hi Guys,

Is there a way to get SAML authentication context in custom authenticators?

In the code, looks like it's not possible since it is not set anywhere in
AuthenticationSessionModel. So if this is true, what would be the best way
to pass it considering it may contain multiple information?

It can be set as client session note just like other values from SAML
request, but there has to be a way to serialize and de-serialize it since
it's a complex object.

What approach do you recommend?

Thanks,
Gideon


More information about the keycloak-dev mailing list