Activities of "lan.dang"

I could not find other log that useful, there is no exception or any hint, Have a look at it, seem that issue with openIDDict? How can I upgrade OpenIDDict to 5.0.0, I do not see OpenID package reference in .net Core 2024-05-14 15:02:18.396 +07:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryEndpoint for /.well-known/openid-configuration 2024-05-14 15:02:18.397 +07:00 [INF] Request finished HTTP/2 GET https://localhost:44348/.well-known/openid-configuration - 200 null application/json; charset=UTF-8 32.7857ms 2024-05-14 15:02:18.403 +07:00 [INF] Request starting HTTP/2 OPTIONS https://localhost:44348/.well-known/openid-configuration/jwks - null null

Ah it is package.json in .Host project, here is the one in angular { "name": "StaffApp", "version": "0.0.0", "license": "UNLICENSED", "scripts": { "ng": "ng", "start": "ng serve --open", "build": "ng build", "build:prod": "ng build --configuration production", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@abp/ng.components": "~8.1.1", "@abp/ng.core": "~8.1.1", "@abp/ng.oauth": "~8.1.1", "@abp/ng.setting-management": "~8.1.1", "@abp/ng.theme.shared": "~8.1.1", "@volo/abp.commercial.ng.ui": "~8.1.1", "@volo/abp.ng.account": "~8.1.1", "@volo/abp.ng.audit-logging": "~8.1.1", "@volo/abp.ng.gdpr": "~8.1.1", "@volo/abp.ng.identity": "~8.1.1", "@volo/abp.ng.openiddictpro": "~8.1.1", "@volo/abp.ng.language-management": "~8.1.1", "@volo/abp.ng.saas": "~8.1.1", "@volo/abp.ng.text-template-management": "~8.1.1", "@volosoft/abp.ng.theme.lepton-x": "~3.1.1",

"@abp/ng.theme.basic": "~8.1.1",
"@volo/abp.ng.identity-server": "~8.1.1",
"@volo/abp.ng.theme.lepton": "~8.1.1",


"@angular/animations": "~17.1.0",
"@angular/common": "~17.1.0",
"@angular/compiler": "~17.1.0",
"@angular/core": "~17.1.0",
"@angular/forms": "~17.1.0",
"@angular/localize": "~17.1.0",
"@angular/platform-browser-dynamic": "~17.1.0",
"@angular/platform-browser": "~17.1.0",
"@angular/router": "~17.1.0",

"@angular/cdk": "~17.1.0",
"@angular/material": "~17.1.0",
"@angular/material-moment-adapter": "^~17.1.0",
"@angular/service-worker": "~17.1.0",
"@angular-material-components/datetime-picker": "16.0.1",

"@ng-select/ng-select": "12.0.7",
"@ngx-translate/core": "^15.0.0",
"@ngx-translate/http-loader": "^8.0.0",
"@schematics/angular": "^17.3.7",
"@swimlane/ngx-datatable": "20.1.0",
"file-saver": "^2.0.5",
"lodash": "^4.17.21",
"material-design-icons": "^3.0.1",
"ngx-clipboard": "^16.0.0",
"ngx-webstorage": "13.0.1",
"primeflex": "^3.3.1",
"primeicons": "^7.0.0",
"primeng": "17.16.1",
"sweetalert2": "^11.7.1",
"ts-toolbelt": "9.6",

"rxjs": "~7.8.0",
"tslib": "^2.0.0",
"zone.js": "~0.14.0"

}, "devDependencies": { "@abp/ng.schematics": "~8.1.1",

"@angular-devkit/build-angular": "~17.1.0",
"@angular-eslint/builder": "~17.2.0",
"@angular-eslint/eslint-plugin": "~17.2.0",
"@angular-eslint/eslint-plugin-template": "~17.2.0",
"@angular-eslint/schematics": "~17.2.0",
"@angular-eslint/template-parser": "~17.2.0",
"@angular/cli": "~17.1.0",
"@angular/compiler-cli": "~17.1.0",
"@angular/language-service": "~17.1.0",

"@types/jasmine": "~3.6.0",
"@types/node": "^20.0.0",

"@types/jasminewd2": "~2.0.3",


"@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "6.9.1",
"eslint": "^8.0.0",
"jasmine-core": "~4.0.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.0.0",
"typescript": "~5.3.0",

"codelyzer": "^6.0.1",
"jasmine-spec-reporter": "~7.0.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"ng-packagr": "^17.3.0",
"protractor": "~7.0.0",
"ts-node": "~10.9.2",
"tslint": "~6.1.0"

}, "resolutions": { "webpack": "^5.0.0" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }

Here is package.json file { "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@abp/blogging": "~8.1.1", "@abp/owl.carousel": "~8.1.1", "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~8.1.1", "@volo/account": "~8.1.1" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }

Here is log file I got [10:03:03 INF] AuthenticationScheme: Identity.Application signed in. [10:03:03 INF] {"Username": "admin", "Provider": null, "ProviderUserId": null, "SubjectId": "0441e717-29a6-164e-c62a-3a11e2724b42", "DisplayName": "admin", "Endpoint": "UI", "ClientId": null, "Category": "Authentication", "Name": "User Login Success", "EventType": "Success", "Id": 1000, "Message": null, "ActivityId": "0HN3JO8I4ONIT:0000001F", "TimeStamp": "2024-05-14T03:03:03.0000000Z", "ProcessId": 9200, "LocalIpAddress": "::1:44348", "RemoteIpAddress": "::1", "$type": "UserLoginSuccessEvent"} [10:03:03 INF] Executed handler method OnPostAsync, returned result Microsoft.AspNetCore.Mvc.RedirectResult. [10:03:03 INF] Executing RedirectResult, redirecting to /connect/authorize/callback?response_type=code&client_id=StaffApp_App&state=bXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J&redirect_uri=http%3A%2F%2Flocalhost%3A4200&scope=openid%20offline_access%20StaffApp&code_challenge=YDgai__eWYAIQroGRMpnEckLnNw6ritvrJWFp44s9xY&code_challenge_method=S256&nonce=bXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J&culture=en-GB&ui-culture=en-GB. [10:03:03 INF] Executed page /Account/Login in 961.8656ms [10:03:03 INF] Executed endpoint '/Account/Login' [10:03:03 INF] Request finished HTTP/2 POST https://localhost:44348/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fresponse_type%3Dcode%26client_id%3DStaffApp_App%26state%3DbXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A4200%26scope%3Dopenid%2520offline_access%2520StaffApp%26code_challenge%3DYDgai__eWYAIQroGRMpnEckLnNw6ritvrJWFp44s9xY%26code_challenge_method%3DS256%26nonce%3DbXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J%26culture%3Den-GB%26ui-culture%3Den-GB - 302 0 null 1193.4513ms [10:03:03 INF] Request starting HTTP/2 GET https://localhost:44348/connect/authorize/callback?response_type=code&client_id=StaffApp_App&state=bXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J&redirect_uri=http%3A%2F%2Flocalhost%3A4200&scope=openid%20offline_access%20StaffApp&code_challenge=YDgai__eWYAIQroGRMpnEckLnNw6ritvrJWFp44s9xY&code_challenge_method=S256&nonce=bXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J&culture=en-GB&ui-culture=en-GB - null null [10:03:04 INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeCallbackEndpoint for /connect/authorize/callback [10:03:04 INF] {"ClientId": "StaffApp_App", "ClientName": "StaffApp_App", "RedirectUri": "http://localhost:4200", "Endpoint": "Authorize", "SubjectId": "0441e717-29a6-164e-c62a-3a11e2724b42", "Scopes": "openid offline_access StaffApp", "GrantType": "authorization_code", "Tokens": [{"TokenType": "code", "TokenValue": "****F1C9", "$type": "Token"}], "Category": "Token", "Name": "Token Issued Success", "EventType": "Success", "Id": 2000, "Message": null, "ActivityId": "0HN3JO8I4ONIT:00000021", "TimeStamp": "2024-05-14T03:03:04.0000000Z", "ProcessId": 9200, "LocalIpAddress": "::1:44348", "RemoteIpAddress": "::1", "$type": "TokenIssuedSuccessEvent"} [10:03:04 INF] AuthenticationScheme: Identity.Application signed in. [10:03:04 INF] Request finished HTTP/2 GET https://localhost:44348/connect/authorize/callback?response_type=code&client_id=StaffApp_App&state=bXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J&redirect_uri=http%3A%2F%2Flocalhost%3A4200&scope=openid%20offline_access%20StaffApp&code_challenge=YDgai__eWYAIQroGRMpnEckLnNw6ritvrJWFp44s9xY&code_challenge_method=S256&nonce=bXRtU3F4NzBaUW0uYU4xRFZhaEpTdkF3d1BzUkVkRW1iUHpScExjN2Y0fn5J&culture=en-GB&ui-culture=en-GB - 302 0 null 302.4041ms [10:03:05 INF] Request starting HTTP/2 OPTIONS https://localhost:44348/.well-known/openid-configuration - null null [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] Request finished HTTP/2 OPTIONS https://localhost:44348/.well-known/openid-configuration - 204 null null 0.8278ms [10:03:05 INF] Request starting HTTP/2 GET https://localhost:44348/.well-known/openid-configuration - null null [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryEndpoint for /.well-known/openid-configuration [10:03:05 INF] Request finished HTTP/2 GET https://localhost:44348/.well-known/openid-configuration - 200 null application/json; charset=UTF-8 60.266ms [10:03:05 INF] Request starting HTTP/2 OPTIONS https://localhost:44348/.well-known/openid-configuration/jwks - null null [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] Request finished HTTP/2 OPTIONS https://localhost:44348/.well-known/openid-configuration/jwks - 204 null null 0.7995ms [10:03:05 INF] Request starting HTTP/2 GET https://localhost:44348/.well-known/openid-configuration/jwks - null null [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryKeyEndpoint for /.well-known/openid-configuration/jwks [10:03:05 INF] Request finished HTTP/2 GET https://localhost:44348/.well-known/openid-configuration/jwks - 200 null application/json; charset=UTF-8 38.4494ms [10:03:05 INF] Request starting HTTP/2 OPTIONS https://localhost:44348/connect/token - null null [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] Request finished HTTP/2 OPTIONS https://localhost:44348/connect/token - 204 null null 0.8598ms [10:03:05 INF] Request starting HTTP/2 POST https://localhost:44348/connect/token - application/x-www-form-urlencoded 240 [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] CORS policy execution successful. [10:03:05 INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.TokenEndpoint for /connect/token [10:03:05 INF] {"ClientId": "StaffApp_App", "AuthenticationMethod": "NoSecret", "Category": "Authentication", "Name": "Client Authentication Success", "EventType": "Success", "Id": 1010, "Message": null, "ActivityId": "0HN3JO8I4ONIQ:00000025", "TimeStamp": "2024-05-14T03:03:05.0000000Z", "ProcessId": 9200, "LocalIpAddress": "::1:44348", "RemoteIpAddress": "::1", "$type": "ClientAuthenticationSuccessEvent"} [10:03:06 INF] Token request validation success, {"ClientId": "StaffApp_App", "ClientName": "StaffApp_App", "GrantType": "authorization_code", "Scopes": null, "AuthorizationCode": "****F1C9", "RefreshToken": "********", "UserName": null, "AuthenticationContextReferenceClasses": null, "Tenant": null, "IdP": null, "Raw": {"grant_type": "authorization_code", "code": "AAC676386756D222E43EC4FE9C1C735385BBBAC4F3F4E2B22815D766B2B9F1C9", "redirect_uri": "http://localhost:4200", "code_verifier": "bmRsOWhmLTdIYUhwU3l3dTR-Zm0yUl9tUkJ6djlYUTR4OWIzSktUSTdES25s", "client_id": "StaffApp_App"}, "$type": "TokenRequestValidationLog"} [10:03:06 INF] {"ClientId": "StaffApp_App", "ClientName": "StaffApp_App", "RedirectUri": null, "Endpoint": "Token", "SubjectId": "0441e717-29a6-164e-c62a-3a11e2724b42", "Scopes": "openid offline_access StaffApp", "GrantType": "authorization_code", "Tokens": [{"TokenType": "id_token", "TokenValue": "****aHNA", "$type": "Token"}, {"TokenType": "refresh_token", "TokenValue": "****DE5F", "$type": "Token"}, {"TokenType": "access_token", "TokenValue": "****qqZA", "$type": "Token"}], "Category": "Token", "Name": "Token Issued Success", "EventType": "Success", "Id": 2000, "Message": null, "ActivityId": "0HN3JO8I4ONIQ:00000025", "TimeStamp": "2024-05-14T03:03:06.0000000Z", "ProcessId": 9200, "LocalIpAddress": "::1:44348", "RemoteIpAddress": "::1", "$type": "TokenIssuedSuccessEvent"} [10:03:06 INF] Request finished HTTP/2 POST https://localhost:44348/connect/token - 200 null application/json; charset=UTF-8 825.0013ms [10:03:06 INF] Request starting HTTP/2 OPTIONS https://localhost:44348/api/abp/application-configuration?includeLocalizationResources=false - null null [10:03:06 INF] CORS policy execution successful. [10:03:06 INF] Request finished HTTP/2 OPTIONS https://localhost:44348/api/abp/application-configuration?includeLocalizationResources=false - 204 null null 0.8188ms [10:03:06 INF] Request starting HTTP/2 GET https://localhost:44348/api/abp/application-configuration?includeLocalizationResources=false - null null [10:03:06 INF] CORS policy execution successful. [10:03:06 INF] Request starting HTTP/1.1 GET https://localhost:44348/.well-known/openid-configuration - null null [10:03:06 INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryEndpoint for /.well-known/openid-configuration [10:03:06 INF] Request finished HTTP/1.1 GET https://localhost:44348/.well-known/openid-configuration - 200 null application/json; charset=UTF-8 16.1236ms [10:03:06 INF] Request starting HTTP/1.1 GET https://localhost:44348/.well-known/openid-configuration/jwks - null null [10:03:06 INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryKeyEndpoint for /.well-known/openid-configuration/jwks [10:03:06 INF] Request finished HTTP/1.1 GET https://localhost:44348/.well-known/openid-configuration/jwks - 200 null application/json; charset=UTF-8 20.1814ms [10:03:06 INF] No CORS policy found for the specified request. [10:03:06 INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)' [10:03:06 INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationConfiguration", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationRequestOptions) on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController (Volo.Abp.AspNetCore.Mvc). [10:03:06 INF] Authorization failed. These requirements were not met: OperationAuthorizationRequirement:Name=Update [10:03:06 INF] Authorization failed. These requirements were not met: OperationAuthorizationRequirement:Name=Delete [10:03:06 INF] Executing ObjectResult, writing value of type 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto'. [10:03:06 INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 111.7459ms [10:03:06 INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)' [10:03:06 INF] Request finished HTTP/2 GET https://localhost:44348/api/abp/application-configuration?includeLocalizationResources=false - 200 null application/json; charset=utf-8 262.0342ms [10:03:06 INF] Request starting HTTP/2 OPTIONS https://localhost:44348/api/abp/application-localization?cultureName=en-GB&onlyDynamics=false - null null [10:03:06 INF] CORS policy execution successful. [10:03:06 INF] Request finished HTTP/2 OPTIONS https://localhost:44348/api/abp/application-localization?cultureName=en-GB&onlyDynamics=false - 204 null null 0.777ms [10:03:06 INF] Request starting HTTP/2 GET https://localhost:44348/api/abp/application-localization?cultureName=en-GB&onlyDynamics=false - null null

  • ABP Framework version: v8.1.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

After upgrade from 7.0 to 8.1.1 I unable to login as Host admin, it always redirects to login page in many time. Can you give any idea why this happens?

Thank you, I solved the error : this method in azure app service does not work well {Dns.GetHostName()}

  • ABP Framework version: v8.0.1
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I got this error in Host app 2024-04-18 02:15:02.991 +00:00 [ERR] GetHealthReport threw an exception when trying to get report from http://a7fe589a2946/health-status configured with name DruidAI Health Status. System.Net.Http.HttpRequestException: Connection refused (a7fe589a2946:80) ---> System.Net.Sockets.SocketException (111): Connection refused at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.

This is my HealthCheck configure public static class HealthChecksBuilderExtensions { public static void AddDruidAIHealthChecks(this IServiceCollection services) { // Add your health checks here var healthChecksBuilder = services.AddHealthChecks(); healthChecksBuilder.AddCheck

    services.ConfigureHealthCheckEndpoint("/health-status");
    
    // If you don't want to add HealthChecksUI, remove following configurations.
    var healthChecksUiBuilder = services.AddHealthChecksUI(settings =>
    {
        settings.AddHealthCheckEndpoint("DruidAI Health Status", $"http://{Dns.GetHostName()}/health-status");
    });
    
    // Set your HealthCheck UI Storage here
    healthChecksUiBuilder.AddInMemoryStorage();
    
    services.MapHealthChecksUiEndpoints(options =>
    {
        options.UIPath = "/health-ui";
        options.ApiPath = "/health-api";
    });
}

private static IServiceCollection ConfigureHealthCheckEndpoint(this IServiceCollection services, string path)
{
    services.Configure<AbpEndpointRouterOptions>(options =>
    {
        options.EndpointConfigureActions.Add(endpointContext =>
        {
            endpointContext.Endpoints.MapHealthChecks(
                new PathString(path.EnsureStartsWith('/')),
                new HealthCheckOptions
                {
                    Predicate = _ => true,
                    ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse,
                    AllowCachingResponses = false,
                });
        });
    });

    return services;
}

private static IServiceCollection MapHealthChecksUiEndpoints(this IServiceCollection services, Action<global::HealthChecks.UI.Configuration.Options> setupOption = null)
{
    services.Configure<AbpEndpointRouterOptions>(routerOptions =>
    {
        routerOptions.EndpointConfigureActions.Add(endpointContext =>
        {
            endpointContext.Endpoints.MapHealthChecksUI(setupOption);
        });
    });

    return services;
}

}

It seems error on Dns.GetHostName() as I return "a7fe589a2946", right? can i get host name from Configuration app setting?

Thank you, it worked

  • ABP Framework version: v8.1.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello, I take care project from Christope This solution works with ABP 7.0.0 https://support.abp.io/QA/Questions/1490/Adding-project-VoloAbpMultiTenancy-from-Github-into-ABP-solution But I got this error after upgrade ABP to 8.1.0 ArgumentException: The type 'Kwork.StaffApp.CustomSource.MyTenantConfigurationProvider' is not assignable to service 'Volo.Abp.Identity.IdentityUserManager'. How can I make it works? I tried to add but it does not solve the error context.Services.Replace( ServiceDescriptor.Transient<ITenantConfigurationProvider, MyTenantConfigurationProvider>() );

Thank you, this solution seems work for me BTW, I added to OnAfterRenderAsync protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { //Temporary solution to clear session storage if (Page == "/Account/~/Account/Login") { await jsRuntime.InvokeVoidAsync("sessionStorage.clear"); } } await base.OnAfterRenderAsync(firstRender); }

Showing 1 to 10 of 130 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11