0
simix.markus created
Hello, The Blazor WebApp template isn't working with tenant resolution and WebAssembly. My problem seems very like this one, but I'm not using tiered. None of the suggestions worked. https://github.com/abpframework/abp/issues/19965
Steps to reproduce the issue
- Run the solution https://www.dropbox.com/t/DELETED
- Create a tenant t1
- Login in tenant: https://t1.localhost:44334/
- The login works and keep logged for 2 seconds, after the page is reloaded (WebAssembly) and isn't authenticated anymore.
Solution configuration:
- Template: app
- Created ABP Studio Version: 0.9.26
- Current ABP Studio Version: 0.9.26
- Tiered: No
- Multi-Tenancy: Yes
- UI Framework: blazor-webapp
- Theme: leptonx
- Theme Style: system
- Theme Menu Placement: side
- Run Install Libs: Yes
- Database Provider: ef
- Database Management System: postgresql
- Separate Tenant Schema: No
- Create Initial Migration: Yes
- Run Db Migrator: Yes
- Mobile Framework: none
- Public Website: No
- Social Login: Yes
- Include Tests: Yes
- Kubernetes Configuration: Yes
- Distributed Event Bus: none
- Use Local References: No
- Optional Modules:
- GDPR
- TextTemplateManagement
- LanguageManagement
- AuditLogging
- OpenIddictAdmin
- Create Command: abp new DemoLogin -t app --ui-framework blazor-webapp --database-provider ef --database-management-system postgresql --theme leptonx --without-cms-kit --dont-run-bundling -no-file-management
4 Answer(s)
-
0
hi
I removed your Dropbox download link. I will check your app.
Thanks.
-
0
hi
I use
local.test
as a domain and you need to change it below:test.local.test
test is the tenant name.public class CookieHandler : DelegatingHandler, ITransientDependency { protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { request.SetBrowserRequestCredentials(BrowserRequestCredentials.Include); return base.SendAsync(request, cancellationToken); } }
-
0
Working, thanks.
-
0
Great