-
ABP Framework version: v8.2.0
-
UI Type: Blazor Web App
-
Database System: EF Core
-
Tiered (for MVC) or Auth Server Separated (for Angular): no
-
Steps to reproduce the issue:
Subdomain tenant mapping is not working correctly after converting a Blazor Server to Blazor Web App.
Behavior
Initially a user can login to the tenant as normal but after a couple minutes the session will force a logout.
Partial Console Logs:
dotnet.runtime.8.0.7.3bvrr6lyon.js:3 warn: Volo.Abp.IdentityModel.IdentityModelAuthenticationService[0]
Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
(anonymous) @ dotnet.runtime.8.0.7.3bvrr6lyon.js:3
dotnet.runtime.8.0.7.3bvrr6lyon.js:3 info: System.Net.Http.HttpClient.AbpMvcClient.LogicalHandler[100]
Start processing HTTP request GET https://redacted.com/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
dotnet.runtime.8.0.7.3bvrr6lyon.js:3 info: System.Net.Http.HttpClient.AbpMvcClient.ClientHandler[100]
Sending HTTP request GET https://redacted.com/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
dotnet.runtime.8.0.7.3bvrr6lyon.js:3 info: System.Net.Http.HttpClient.AbpMvcClient.ClientHandler[101]
Received HTTP response headers after 160.1ms - 200
dotnet.runtime.8.0.7.3bvrr6lyon.js:3 info: System.Net.Http.HttpClient.AbpMvcClient.LogicalHandler[101]
End processing HTTP request after 188.2ms - 200
dotnet.runtime.8.0.7.3bvrr6lyon.js:3 warn: Volo.Abp.IdentityModel.IdentityModelAuthenticationService[0]
Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
dotnet.runtime.8.0.7.3bvrr6lyon.js:3 info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]
Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
Application Insights Logs
This issue does not present when logging into the main (admin) site. If subdomain tenant mapping is disabled the application works correctly.
Module Configuration
Redacted.Blazor
---> RedactedBlazorModule.cs
33 Answer(s)
-
0
-
0
hi
We have released the new leptonX packages.
Please upgrade it to latest(3.2.1) to fix the user avatar problem
-
0
Should we upgrade to abp 8.2.1 or just the nuget packages?
-
0
hi
You can upgrade both abp(8.2.1)&volo(8.2.1)&lepton(3.2.1) to latest.
-
0
I will upgrade and update you on the results by Friday.
Thank you sir!
-
0
: )
-
0
This particular issue seems to be working correctly now. Thanks so much for your help!
-
0
Good news. : )