Hi,
I have already modified the solution and added the new Login and it is now working.
Thanks
import { Environment } from '@abp/ng.core';
const baseUrl = '';
const oAuthConfig = { issuer: '', redirectUri: baseUrl, clientId: 'MTGCorp_App', responseType: 'code', scope: 'offline_access MTGCorp', requireHttps: true, impersonation: { userImpersonation: true, } };
export const environment = { production: true, application: { baseUrl, name: 'MTGCorp', }, oAuthConfig, apis: { default: { url: '', rootNamespace: 'MTGCorp', }, AbpAccountPublic: { url: oAuthConfig.issuer, rootNamespace: 'AbpAccountPublic', }, }, remoteEnv: { url: '/getEnvConfig', mergeStrategy: 'deepmerge' } } as Environment;
hi,
My intention is not to touch anything in the Angular project. I want to override methods from the backend and have it be transparent to the frontend. Is this possible?
Thanks.
2025-06-12 12:46:20.384 +02:00 [DBG] AuthenticationScheme: OpenIddict.Validation.AspNetCore was not authenticated. 2025-06-12 12:46:20.386 +02:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController.GetAsync (Volo.Abp.AspNetCore.Mvc)' 2025-06-12 12:46:20.393 +02:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationLocalization", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationLocalizationDto] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationLocalizationRequestDto) on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController (Volo.Abp.AspNetCore.Mvc). 2025-06-12 12:46:20.534 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationLocalizationDto'. 2025-06-12 12:46:20.536 +02:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 142.7719ms 2025-06-12 12:46:20.536 +02:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController.GetAsync (Volo.Abp.AspNetCore.Mvc)' 2025-06-12 12:46:20.545 +02:00 [INF] Request finished HTTP/2 GET https://localhost:7511/api/abp/application-localization?cultureName=es&onlyDynamics=false - 200 null application/json; charset=utf-8 168.3835ms 2025-06-12 12:46:28.680 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:46:28.724 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:46:28.729 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:46:28.729 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:46:28.738 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:46:28.741 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:46:28.741 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:46:38.727 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:46:38.728 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:46:38.730 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:46:38.730 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:46:38.731 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:46:38.731 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:46:38.731 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:46:48.746 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:46:48.747 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:46:48.748 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:46:48.748 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:46:48.748 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:46:48.748 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:46:48.749 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:46:58.753 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:46:58.754 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:46:58.755 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:46:58.755 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:46:58.755 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:46:58.755 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:46:58.755 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:47:08.759 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:47:08.761 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:47:08.761 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:47:08.761 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:47:08.761 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:47:08.762 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:47:08.762 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:47:18.765 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:47:18.767 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:47:18.767 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:47:18.767 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:47:18.768 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:47:18.768 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:47:18.769 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:47:28.771 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:47:28.772 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:47:28.773 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:47:28.773 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:47:28.774 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:47:28.774 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:47:28.774 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:47:38.773 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:47:38.774 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:47:38.775 +02:00 [INF] Notification is sent on same window time. 2025-06-12 12:47:38.775 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:47:38.776 +02:00 [DBG] HealthReport history already exists and is in the same state, updating the values. 2025-06-12 12:47:38.776 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:47:38.776 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:47:45.042 +02:00 [INF] Request starting HTTP/2 GET https://localhost:7511/connect/authorize?response_type=code&client_id=MTGCorp_App&state=Y2FTbklUbGZqalBkQktQMEdqY2ZTT2xqQnREYlZIU0oten5lcS14RHBNbWxN&redirect_uri=https%3A%2F%2Flocalhost%3A4500&scope=openid%20offline_access%20MTGCorp&code_challenge=9MmJZcZtTLutQ6J_c_-MfnG2UPq7GhI5iDBTaRE8RF8&code_challenge_method=S256&nonce=Y2FTbklUbGZqalBkQktQMEdqY2ZTT2xqQnREYlZIU0oten5lcS14RHBNbWxN&culture=es&ui-culture=es - null null 2025-06-12 12:47:45.050 +02:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri. 2025-06-12 12:47:45.050 +02:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri. 2025-06-12 12:47:45.051 +02:00 [INF] The request URI matched a server endpoint: "Authorization".
2025-06-12 12:46:18.161 +02:00 [INF] Saving healthchecks configuration to database 2025-06-12 12:46:18.315 +02:00 [DBG] Executing HealthCheck collector HostedService. 2025-06-12 12:46:18.327 +02:00 [INF] Request starting HTTP/2 OPTIONS https://localhost:7511/.well-known/openid-configuration - null null 2025-06-12 12:46:18.445 +02:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name MTGCorp Health Status. System.InvalidOperationException: Could not get endpoint uri from configuration at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetEndpointUri(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 176 at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReportAsync(HealthCheckConfiguration configuration) in /home/runner/work/AspNetCore.Diagnostics.HealthChecks/AspNetCore.Diagnostics.HealthChecks/src/HealthChecks.UI/Core/HostedService/HealthCheckReportCollector.cs:line 118 2025-06-12 12:46:18.497 +02:00 [DBG] HealthReportCollector - health report execution history saved. 2025-06-12 12:46:18.543 +02:00 [DBG] Creating a new HealthReport history. 2025-06-12 12:46:18.681 +02:00 [DBG] HealthReportCollector has completed. 2025-06-12 12:46:18.682 +02:00 [DBG] HealthCheck collector HostedService executed successfully. 2025-06-12 12:46:18.683 +02:00 [INF] Application started. Press Ctrl+C to shut down. 2025-06-12 12:46:18.683 +02:00 [INF] Hosting environment: Production 2025-06-12 12:46:18.683 +02:00 [INF] Content root path: C:\inetpub\MTG_SetupWizardWebsite 2025-06-12 12:46:18.835 +02:00 [INF] Completed to save external localizations. 2025-06-12 12:46:19.167 +02:00 [INF] CORS policy execution successful. 2025-06-12 12:46:19.203 +02:00 [INF] Request starting HTTP/2 GET https://localhost:7511/.well-known/openid-configuration - null null 2025-06-12 12:46:19.203 +02:00 [INF] Request finished HTTP/2 OPTIONS https://localhost:7511/.well-known/openid-configuration - 204 null null 876.0163ms 2025-06-12 12:46:19.209 +02:00 [INF] CORS policy execution successful. 2025-06-12 12:46:19.253 +02:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri.
That's all! :D