I want to store information (like an external ID) in custom user attributes after registration. The end goal is to have this information in the JWT token.
I'm having trouble finding the right way to do it. I think this may not be a good design.
More details on my use case: When a user registers on keycloak, I have to create the user on an external application and I want to save this external ID on keycloaK.
I was thinking Event Listener SPI and do some stuff after registration, but it feel like overkill