Open Closed

AzureAD Authication #1279


User avatar
0
vijay.nallala created
  • ABP Framework version: 4.3.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue: Login -> Azure AD --> while redirect to external login for Azure AD getting below issue.

AUZRE AD changes done below

  1. added Authsection
  2. Added OpenId for Azure Setting as defacult external login.
    1. it was working but now it geeting error again as below

Log File


3 Answer(s)
  • User Avatar
    0
    vijay.nallala created

    PermissionRequirement: SettingManagement.Emailing 2021-05-06 07:34:56.888 -04:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement 2021-05-06 07:34:56.889 -04:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: LeptonThemeManagement.Settings 2021-05-06 07:34:56.889 -04:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement 2021-05-06 07:34:56.908 -04:00 [INF] Executed ViewResult - view ~/Views/Error/500.cshtml executed in 31.194ms. 2021-05-06 07:34:56.908 -04:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared) in 32.3436ms 2021-05-06 07:34:56.908 -04:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared)' 2021-05-06 07:34:56.914 -04:00 [INF] Request finished HTTP/2 POST https://dev-idm.nirvanahealth.com/Account/Login?returnUrl=%2F&handler=ExternalLogin application/x-www-form-urlencoded 203 - 500 - text/html;+charset=utf-8 87.3277ms 2021-05-06 07:34:56.945 -04:00 [INF] Request starting HTTP/2 GET https://dev-idm.nirvanahealth.com/Abp/ApplicationConfigurationScript - - 2021-05-06 07:34:56.945 -04:00 [INF] Request starting HTTP/2 GET https://dev-idm.nirvanahealth.com/Abp/ServiceProxyScript - - 2021-05-06 07:34:56.951 -04:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed 2021-05-06 07:34:56.951 -04:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed 2021-05-06 07:34:56.954 -04:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed 2021-05-06 07:34:56.954 -04:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed 2021-05-06 07:34:56.954 -04:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed 2021-05-06 07:34:56.954 -04:00 [INF] Identity.Application was not authenticated. Failure message: Unprotect ticket failed 2021-05-06 07:34:56.954 -04:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2021-05-06 07:34:56.954 -04:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2021-05-06 07:34:56.954 -04:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc). 2021-05-06 07:34:56.954 -04:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc). 2021-05-06 07:34:56.963 -04:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2021-05-06 07:34:56.963 -04:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 8.2653ms 2021-05-06 07:34:56.963 -04:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2021-05-06 07:34:56.975 -04:00 [INF] Request finished HTTP/2 GET https://dev-idm.nirvanahealth.com/Abp/ServiceProxyScript - - - 200 41557 application/javascript 29.6129ms 2021-05-06 07:34:57.045 -04:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2021-05-06 07:34:57.047 -04:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 92.1657ms 2021-05-06 07:34:57.047 -04:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2021-05-06 07:34:57.060 -04:00 [INF] Request finished HTTP/2 GET https://dev-idm.nirvanahealth.com/Abp/ApplicationConfigurationScript - - - 200 121008 application/javascript 115.2764ms 2021-05-06 07:35:00.588 -04:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name IdenityManager Health Status. System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set. at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReport(HealthCheckConfiguration configuration) 2021-05-06 07:35:00.588 -04:00 [INF] Notification is sent on same window time.

  • User Avatar
    0
    gterdem created
    Support Team Senior .NET Developer

    2021-05-06 07:35:00.588 -04:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name IdenityManager Health Status. System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set. at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReport(HealthCheckConfiguration configuration)

    I don't think it is related with AzureAD. It seems it is about /health-status URI error. Can it be related with the name IdenityManager Health Status typo? Did you mean IdentityManager?

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11