[keycloak-user] keycloak SAML response - Authentication method information

Manisha Nandal manisha04.nandal at gmail.com
Wed Jun 20 06:42:18 EDT 2018


Hi,

I authenticated my client application using google IDP. i want to retrieve
the information of IDP used for authentication from  keycloak SAML
response. I have checked in keycloak documentation that
"AuthnStatement" give us the authentication method used (password, etc.) as
well as a timestamp of the login.

But, my SAML response does not provide any such information. SAML contains
user name used for authentication under "NameID" but i want the identity
provider information, say in my case google is IDP

<saml:AuthnStatement AuthnInstant="2018-06-20T08:00:43.222Z"
SessionIndex="08cf3868-ae2d-467b-b69e-926c244f5794::7f6d3293-8370-413f-b958-1763df3bb078">
         <saml:AuthnContext>

<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</saml:AuthnContextClassRef>
         </saml:AuthnContext>
      </saml:AuthnStatement>

Can you please guide me on the same


Thanks,
Manisha


More information about the keycloak-user mailing list