Hi,
Is there a way to identify users via an Identity Provider and send data in the JWT to the client without store it in the user attributes ?
I need to auto fill a form with the user data provided by an Idp but less I store this data the better it is.
For example, would it be possible to use the “Hardcoded User Session Attribute” to pick some saml claims from Idp assertion, to be able to send it back to my web client in the id token ?
At the moment, I have configured the broker mappers to get the SAML claims from the IdP into the user attributes via Attribute Importer Mapper. I saw that there’s another mapper that can put some value in the user session but it’s only hardcoded value and there seems to be no possibility to put something from the claims.
When my client delegates the authentication to keycloak, I want the user to authenticate via an external idp and get the claims value (birthdate, gender, …) directly without storing it in the user attributes.
Are you concerned w.r.t storing in Keycloak? Otherwise, on each authentication – the claims can be configured to be retrieved in real time from the external IDP.