I was able to implement some sort of impersonation flow using the token_exchange preview feature.
I’m inspecting the token of the impersonating user and the token of the impersonated user but I see that there are no claims that allow me to understand that the latter is the impersonated user.
Is there a way to customize the token of the impersonated user so that I understand that we are in a “impersonation context”?