Hi,I am planning to use the Impersonaton.I had just done some test.When I login as a user in user management page,it works.the user menu shows that I am logging in as this user. But after I refresh the page,the Impersonaton does not work.AbpSession.ImpersonatorUserId.HasValue becomes false. Why it happens?Is it a Bug?
7 Answer(s)
-
0
Hi @luo0826
It shouldn't act like this. Could you share;
- Which template you are using
- Which version of AspNet Zero you are using
- Steps to reproduce this problem
-
0
-
0
Thanks,
I have created an issue, please follow https://github.com/aspnetzero/aspnet-zero-core/issues/3731
-
0
The issue can not found.
-
0
Hi,
You need to add your GitHub user on https://aspnetzero.com/LicenseManagement to access this page. It is a private GitHub repository.
-
0
Now I found out how it happened.When I set IdentityServer.IsEnabled to false in appsettings.json the bug happens. Is IdentityServer required if I want to use Impersonaton
-
0
Hi @luo0826
I have added https://github.com/aspnetzero/aspnet-zero-core/issues/3731 to next milestone. Please follow this issue, thanks.