I added a User Realm Role Mapper to the off-the-shelf /account Client. When I print out the token, I see resource_access which returns the correct (default) roles for the client. However, I don’t see a realm_access section when I log in to /account.
I used Add Builtin to hook the Realm Role Mapper to the client.
I’m running 18 in dev mode and restarted a few times. Is there a setting I’m missing to put this Mapper into effect?
I also cleared the cache and verified that the realm_access section shows up in the Client Scopes / Evaluate / Generated Access Token tab. The token shown in the console does not have the same fields as what I get from the POST /token call.