Hi, I'm working with the 4.0 version of .net core with jQuery. When I am using impersonation, it works perfectly but after a couple of minutos of inactivity I'm still logged in but the ImpersonatorUserId of the abp.session is empty. So then the red arrow and the option to switch back to my original user dissappear. Is there a timout setting on the abp session somewhere?
4 Answer(s)
-
0
Hi,
GenerateImpersonationTokenAsync method is creating a cache item for impersonation that is in this file MyCompanyName.AbpZeroTemplate.Core\Authorization\Impersonation\ImpersonationManager.cs and it's timeout is set to 1 minute.
-
0
Hi,
Could you please open an issue about this topic in this repository? <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core">https://github.com/aspnetzero/aspnet-zero-core</a> Then we will examine it.
-
0
Done: Issue #224 is logged
-
0
Thanks.