Hey Descopers, At present, our impersonation featu...
# ask-a-descoper
j
Hey Descopers, At present, our impersonation feature is designed such that both the source and target users reside within the same tenant. We’re now considering a scenario where a tenant admin requests us, as the service provider, to impersonate a user in their tenant without us being added as a member of that tenant. What would be the recommended approach here ?
r
Having the impersonation permission without tenant association will give you the ability to impersonate to any user in Descope including those with a tenant (screenshot has role with the impersonate permission)
j
@Reuven Zabirov I was going thru the docs here https://docs.descope.com/user-impersonation#impersonation-for-tenant-user and i saw that user needs to update his impersonation consent, before he gets impersonated by responsible person. But was wondering that we are still able to impersonate that user even if he has no impersonation consent present.. is it valid ? Is it like no impersonation consent means by default it is allowed ?
r
Hey, we support both consent and non consensual impersonation. Most of our customers don’t ask for consent in their usecase, the flow in the library is a great example, just search for impersonate
j
Yes, I understand but I want to know 1. if some user's consent field is set to some appropriate date time value, so does that mean post that date time we won't be able to impersonate that user ? 2. And if consent field is empty then that means, we are allowed to impersonate that user ?
For point#1, user consent is not working. I tried to impersonate a user after consent date time value, but I am still able to impersonate that user. Can you confirm please ?
@Reuven Zabirov any updates on this please ?
?
r
where do you have a consent date field in the impersonation flow? Are you talking about using Inbound apps?
j
not about inbound apps.. the consent field of each user in user list..which is getting updated....but it doesnt have any effect, it still allows to impersonate that user after that given date time.
r
Checking
yes, you are right. i will check with the team about this feature.
j
We need this consent thing working. If you guys can prioritize this soon and fix, it would be great.
@Reuven Zabirov one quick question regarding this user consent - is there some sdk that we can use to update particular user's consent, without flow ?