I am running Keycloak as an Identity Broker, with one Identity Provider configured.
When a user with a valid token from my IdP accesses my application for the first time, that user is created in Keycloak with information from the token. This includes email, username, firstName and lastName. Keycloak then issues its token with that user information.
When the same user logs in subsequently, the Keycloak token is crafted from the user information in the Keycloak database.
My question is this: if a user changes his lastName at the IdP, how can I configure Keycloak to automatically update its records to match the information on the IdP token?