I’ve been trying to add the client id to the userinfo, so I can retrieve it when consuming the /userinfo endpoint.
I’ve tried a few mappers and managed to add a lot of useful information in it, but not the client_id itself.
I can’t rely on customization. Everything must be done with native configuration. Also I am using KeyCloak version 18.0.2.
My last attempt was to a User Property and look for the serviceAccountClientId from the class User Model, but it didn’t workout.