keycloak-scim/server_admin/topics/identity-broker/session-data.adoc

16 lines
899 B
Text
Raw Normal View History

2016-05-27 15:23:34 +00:00
2016-05-26 16:09:04 +00:00
=== Available User Session Data
2017-08-28 12:50:14 +00:00
After a user logs in from the external IDP, there's some additional user session note data that {project_name} stores that you can access.
2016-05-26 16:09:04 +00:00
This data can be propagated to the client requesting a login via the token or SAML assertion being passed back to it by using an appropriate client mapper.
identity_provider::
2016-05-26 16:09:04 +00:00
This is the IDP alias of the broker used to perform the login.
identity_provider_identity::
2017-08-28 12:50:14 +00:00
This is the IDP username of the currently authenticated user. This is often same like the {project_name} username, but doesn't necessarily needs to be.
For example {project_name} user `john` can be linked to the Facebook user `john123@gmail.com`, so in that case value of user session note will be `john123@gmail.com` .
2017-08-28 12:50:14 +00:00
You can use a <<_protocol-mappers, Protocol Mapper>> of type `User Session Note` to propagate this information to your clients.
2016-05-27 15:23:34 +00:00