Base solution for your next web application

Activities of "goontechpetter"

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()

** From Azure Appinsight log :**

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..!!

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..!!

Hi,

I am looking to use tenancyname as placeholder in AppBaseUrl. Have followed the link step mentioned below. https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Overview-Angular#configuration

Problem: tenancyname place holder in appBaseUrl is not working. I have hosted angular UI in Azure storage.

Azure storage - Created CDN - Endpoint. - Custom Domain. In DNS setting: CNAME - *.mydomian.com Using CDN endpoint to redirect - xyz.azureedge.net

Is there constraint while using tenancyname as placeholder in appBaseUrl, If app is hosted in azure storage? OR please guide if I missed something.

**P.S : ** App is working fine with custom domain mapping of azure storage hosted. I am facing issue when I look to extend the feature for having tenancyname placeholder in AppBaseUrl.

-Anshu

Showing 1 to 6 of 6 entries