Open Closed

V 8.4 _Impersonate Error: Login As this tenant Redirect to login page. #9051


0
goontechpetter created

V8.4 Code base(Angular+.NetCore) User impersonation as the host is not allow to impersonate login "Login As this tenant." Action always redirect to Login page with tenant selected. Aplication is hosted in Azure web app service.

From website log not getting any much informative error seems abp endpoint returns 500 error.

Please suggest..!!


5 Answer(s)
  • 0
    maliming created
    Support Team

    abp endpoint returns 500 error.

    hi

    There should be an error message in the log when http 500 error. Can you check these error logs?

  • 0
    goontechpetter created

    **Below from the website log.. **

    INFO 2020-05-22 14:33:42,795 [43 ] uthentication.JwtBearer.JwtBearerHandler - Failed to validate the token. Abp.UI.UserFriendlyException: ThereIsNoActiveUserDelegationBetweenYourUserAndCurrentUser at Deckplanner.Web.Authentication.JwtBearer.DeckplannerJwtSecurityTokenHandler.ValidateUserDelegation(ClaimsPrincipal principal) in d:\a\1\s\Development\Backend\src\Deckplanner.Web.Core\Authentication\JwtBearer\DeckplannerJwtSecurityTokenHandler.cs:line 128 at Deckplanner.Web.Authentication.JwtBearer.DeckplannerJwtSecurityTokenHandler.ValidateSecurityStampAsync(ClaimsPrincipal principal) in d:\a\1\s\Development\Backend\src\Deckplanner.Web.Core\Authentication\JwtBearer\DeckplannerJwtSecurityTokenHandler.cs:line 118 at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.Run(Func`1 action) at Deckplanner.Web.Authentication.JwtBearer.DeckplannerJwtSecurityTokenHandler.ValidateToken(String securityToken, TokenValidationParameters validationParameters, SecurityToken& validatedToken) in d:\a\1\s\Development\Backend\src\Deckplanner.Web.Core\Authentication\JwtBearer\DeckplannerJwtSecurityTokenHandler.cs:line 62 at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()

    ** From Azure Appinsight log :**

  • 0
    ismcagdas created
    Support Team
  • 0
    goontechpetter created

    https://github.com/aspnetzero/aspnet-zero-core/issues/3085 Not able to acces the page getting 404 error...!!

  • 0
    maliming created
    Support Team

    hi goontechpetter

    https://aspnetzero.com/LicenseManagement

    Notice You can invite anyone to become a member of the ASP.NET Zero organization using their GitHub username. And they can access the ASP.NET Zero private GitHub repositories. Right after you add a GitHub user, the user will receive an invitation email. If there is problem receiving the invitation email, alternatively user can visit github.com/orgs/aspnetzero page and accept the invitation.