https://github.com/aspnetzero/aspnet-zero-core/issues/3085 Not able to acces the page getting 404 error...!!
**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()
After changing the remoteServiceBaseUrl for tenancy_name and added Custom domain mapping for Subdomain in Azure CDN endpoint. I am able to redirect to the tenant(subdomain) specific URL but the login allowed as Admin/Host only.
Below URL Works for Admin login only. Should be allowed to login for Tenant user/admin.. https://mvestenergy.admin.glex.no/
https://mvestenergy.glex.z1.web.core.windows.net/?impersonationToken=de2deb21-b162-4f08-9c47-a33fc932729d&tenantId=2 Error: can’t connect to the server...
Host URL seems working fine but similar behavior in case of impersonate login as tenant. https://notexistsubdomain.admin.glex.no/app/admin/hostDashboard
Have sent email with details, kept email subject line same..!!