Activities of "SelcukDuran"

Answer

Problem solved, We have to trust the localhost certificate.

sorry

can login from auth page

@maliming there is no error in log files but im keep getting this error when i trying to open it to the network.. i configured everything with computer name. added a new self signed certificate to computer name. and trusted that certificate..

still getting login error.. what am i doing wrong??

0.6278ms
2023-10-25 17:38:43.010 +03:00 [INF] Request starting HTTP/2 POST https://sd-pc:5002/?handler=Login application/x-www-form-urlencoded 182
2023-10-25 17:38:43.010 +03:00 [INF] Executing endpoint '/Index'
2023-10-25 17:38:43.010 +03:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
2023-10-25 17:38:43.010 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2023-10-25 17:38:43.011 +03:00 [INF] Executing handler method AbpPublishTest.Web.Pages.IndexModel.OnPostLoginAsync - ModelState is "Valid"
2023-10-25 17:38:43.012 +03:00 [INF] AuthenticationScheme: oidc was challenged.
2023-10-25 17:38:43.012 +03:00 [INF] Executed handler method OnPostLoginAsync, returned result .
2023-10-25 17:38:43.012 +03:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2023-10-25 17:38:43.012 +03:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2023-10-25 17:38:43.015 +03:00 [DBG] Added bundle 'LeptonX.Global' to the page in 0.33 ms.
2023-10-25 17:38:43.015 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.016 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.017 +03:00 [WRN] Could not find the localization resource LeptonX on the remote server!
2023-10-25 17:38:43.019 +03:00 [DBG] Added bundle 'LeptonX.Global' to the page in 1.84 ms.
2023-10-25 17:38:43.020 +03:00 [DBG] Added bundle '0A8933CBA9502D82B30D3F2736E143D4' to the page in 0.13 ms.
2023-10-25 17:38:43.020 +03:00 [INF] Executed page /Index in 9.7361ms
2023-10-25 17:38:43.020 +03:00 [INF] Executed endpoint '/Index'
2023-10-25 17:38:43.021 +03:00 [INF] Request finished HTTP/2 POST https://sd-pc:5002/?handler=Login application/x-www-form-urlencoded 182 - 302 - text/html;+charset=utf-8 10.8125ms
Answer

hi,

i started a new tiered project with 0 configuration oracle database and new publish location..

abp and cli version is 7.4

AbpPublishTest my project name.. trying in local iis folder..

is it necessary changing local hostnames for all 3 projects? like https://auth.testproject https://apihost.testproject https://web.testproject

i started it https://localhost/AbpPublishTest/Auth https://localhost/AbpPublishTest/HostApi/swagger/index.html https://localhost/AbpPublishTest/Web/

which one should i use for configs ?

Answer

Hi

Could you please create a new package and deploy it to a fresh directory within IIS

what you mean with "create a new package" ? new solution with initial deploy? or my project deploy to a fresh directory? do i need to update db tables (OpenIddictApplications) and appsettings.json ?

Answer

these are same but still giving same error

2023-10-17 16:21:20.615 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/abp/Swashbuckle/SetCsrfCookie - -
2023-10-17 16:21:20.791 +03:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
   at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateAudience(IEnumerable`1 audiences, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-17 16:21:20.792 +03:00 [INF] Bearer was not authenticated. Failure message: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
2023-10-17 16:21:20.794 +03:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2023-10-17 16:21:20.796 +03:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2023-10-17 16:21:20.800 +03:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 4.5073ms
2023-10-17 16:21:20.800 +03:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2023-10-17 16:21:20.814 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-17 16:21:20.814 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-17 16:21:20.814 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/abp/Swashbuckle/SetCsrfCookie - - - 204 - - 199.1664ms
2023-10-17 16:21:20.899 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - -
2023-10-17 16:21:20.900 +03:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
   at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateAudience(IEnumerable`1 audiences, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-17 16:21:20.900 +03:00 [INF] Bearer was not authenticated. Failure message: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
2023-10-17 16:21:20.901 +03:00 [INF] Executing endpoint 'OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi)'
2023-10-17 16:21:20.909 +03:00 [INF] Route matched with {area = "app", controller = "DirectPayITBusinessPartnerKKTCELL", action = "GetList", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[OBINEX.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLDto]] GetListAsync(OBINEX.DirectPayITBusinessPartnerKKTCELLS.GetDirectPayITBusinessPartnerKKTCELLSInput) on controller OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController (OBINEX.HttpApi).
2023-10-17 16:21:21.118 +03:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: OBINEX.DirectPayITBusinessPartnerKKTCELLS
2023-10-17 16:21:21.128 +03:00 [WRN] ---------- RemoteServiceErrorInfo ----------
{
  "code": "Volo.Authorization:010001",
  "message": "Authorization failed! Given policy has not granted.",
  "details": null,
  "data": {},
  "validationErrors": null
}

2023-10-17 16:21:21.128 +03:00 [WRN] Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
Volo.Abp.Authorization.AbpAuthorizationException: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
   at Microsoft.AspNetCore.Authorization.AbpAuthorizationServiceExtensions.CheckAsync(IAuthorizationService authorizationService, AuthorizationPolicy policy)
   at Volo.Abp.Authorization.MethodInvocationAuthorizationService.CheckAsync(MethodInvocationAuthorizationContext context)
   at Volo.Abp.Authorization.AuthorizationInterceptor.AuthorizeAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
   at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at lambda_method2595(Closure, Object)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeNextActionFilterAsync&gt;g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeNextExceptionFilterAsync&gt;g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-10-17 16:21:21.128 +03:00 [WRN] Code:Volo.Authorization:010001
2023-10-17 16:21:21.135 +03:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-10-17 16:21:21.135 +03:00 [INF] Executed action OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi) in 226.129ms
2023-10-17 16:21:21.135 +03:00 [INF] Executed endpoint 'OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi)'
2023-10-17 16:21:21.148 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-17 16:21:21.148 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-17 16:21:21.149 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - - - 401 - - 250.3002ms
2023-10-17 16:21:27.668 +03:00 [DBG] Executing HealthCheck collector HostedService.
2023-10-17 16:21:27.669 +03:00 [INF] Start processing HTTP request GET http://apihost.obinex.com.tr/health-status
2023-10-17 16:21:27.669 +03:00 [INF] Sending HTTP request GET http://apihost.obinex.com.tr/health-status
Answer

Hello selcukdurann@gmail.com,

can you please try to update the given code block in API Host Module.cs file

    private void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration) 
    { 
        context.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) 
            .AddJwtBearer(options => 
            { 
                options.Authority = configuration["AuthServer:Authority"]; 
                options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); 
                options.Audience = "tiered732"; 
                options.BackchannelHttpHandler = GetHandler(); 
            }); 
    } 
    private static HttpClientHandler GetHandler() 
    { 
        var handler = new HttpClientHandler(); 
        handler.ClientCertificateOptions = ClientCertificateOption.Manual; 
        handler.SslProtocols = SslProtocols.Tls12; 
        handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true; 
        return handler; 
    } 

please do let me know if it helps you

Thank you, Anjali

i just copied your code... i see now, audience is different.. ill try it and i will write here result..

Answer

after changing apihostmodule cs

2023-10-13 16:11:37.874 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/abp/Swashbuckle/SetCsrfCookie - -
2023-10-13 16:11:38.104 +03:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
   at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateAudience(IEnumerable`1 audiences, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-13 16:11:38.105 +03:00 [INF] Bearer was not authenticated. Failure message: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
2023-10-13 16:11:38.106 +03:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2023-10-13 16:11:38.108 +03:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2023-10-13 16:11:38.114 +03:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 5.3971ms
2023-10-13 16:11:38.114 +03:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2023-10-13 16:11:38.117 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.117 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.117 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/abp/Swashbuckle/SetCsrfCookie - - - 204 - - 243.0528ms
2023-10-13 16:11:38.209 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - -
2023-10-13 16:11:38.211 +03:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
   at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateAudience(IEnumerable`1 audiences, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-13 16:11:38.211 +03:00 [INF] Bearer was not authenticated. Failure message: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
2023-10-13 16:11:38.211 +03:00 [INF] Executing endpoint 'OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi)'
2023-10-13 16:11:38.220 +03:00 [INF] Route matched with {area = "app", controller = "DirectPayITBusinessPartnerKKTCELL", action = "GetList", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[OBINEX.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLDto]] GetListAsync(OBINEX.DirectPayITBusinessPartnerKKTCELLS.GetDirectPayITBusinessPartnerKKTCELLSInput) on controller OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController (OBINEX.HttpApi).
2023-10-13 16:11:38.419 +03:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: OBINEX.DirectPayITBusinessPartnerKKTCELLS
2023-10-13 16:11:38.428 +03:00 [WRN] ---------- RemoteServiceErrorInfo ----------
{
  "code": "Volo.Authorization:010001",
  "message": "Authorization failed! Given policy has not granted.",
  "details": null,
  "data": {},
  "validationErrors": null
}

2023-10-13 16:11:38.428 +03:00 [WRN] Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
Volo.Abp.Authorization.AbpAuthorizationException: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
   at Microsoft.AspNetCore.Authorization.AbpAuthorizationServiceExtensions.CheckAsync(IAuthorizationService authorizationService, AuthorizationPolicy policy)
   at Volo.Abp.Authorization.MethodInvocationAuthorizationService.CheckAsync(MethodInvocationAuthorizationContext context)
   at Volo.Abp.Authorization.AuthorizationInterceptor.AuthorizeAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
   at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at lambda_method2663(Closure, Object)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeNextActionFilterAsync&gt;g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeNextExceptionFilterAsync&gt;g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-10-13 16:11:38.429 +03:00 [WRN] Code:Volo.Authorization:010001
2023-10-13 16:11:38.436 +03:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-10-13 16:11:38.436 +03:00 [INF] Executed action OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi) in 216.469ms
2023-10-13 16:11:38.437 +03:00 [INF] Executed endpoint 'OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi)'
2023-10-13 16:11:38.449 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.449 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.450 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - - - 401 - - 240.5475ms
Answer

auth log continued


2023-10-11 11:30:31.765 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+AttachWwwAuthenticateHeader`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.765 +03:00 [INF] The response was successfully returned as a JSON document: {
  "issuer": "https://auth.obinex.com.tr/",
  "authorization_endpoint": "https://auth.obinex.com.tr/connect/authorize",
  "token_endpoint": "https://auth.obinex.com.tr/connect/token",
  "introspection_endpoint": "https://auth.obinex.com.tr/connect/introspect",
  "end_session_endpoint": "https://auth.obinex.com.tr/connect/logout",
  "revocation_endpoint": "https://auth.obinex.com.tr/connect/revocat",
  "userinfo_endpoint": "https://auth.obinex.com.tr/connect/userinfo",
  "device_authorization_endpoint": "https://auth.obinex.com.tr/device",
  "jwks_uri": "https://auth.obinex.com.tr/.well-known/jwks",
  "grant_types_supported": [
    "authorization_code",
    "implicit",
    "password",
    "client_credentials",
    "refresh_token",
    "urn:ietf:params:oauth:grant-type:device_code",
    "LinkLogin",
    "Impersonation"
  ],
  "response_types_supported": [
    "code",
    "code id_token",
    "code id_token token",
    "code token",
    "id_token",
    "id_token token",
    "token",
    "none"
  ],
  "response_modes_supported": [
    "form_post",
    "fragment",
    "query"
  ],
  "scopes_supported": [
    "openid",
    "offline_access",
    "email",
    "profile",
    "phone",
    "roles",
    "address",
    "OBINEX"
  ],
  "claims_supported": [
    "aud",
    "exp",
    "iat",
    "iss",
    "sub"
  ],
  "id_token_signing_alg_values_supported": [
    "RS256"
  ],
  "code_challenge_methods_supported": [
    "S256"
  ],
  "subject_types_supported": [
    "public"
  ],
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "introspection_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "revocation_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "device_authorization_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "claims_parameter_supported": false,
  "request_parameter_supported": false,
  "request_uri_parameter_supported": false,
  "authorization_response_iss_parameter_supported": true
}.
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ProcessJsonResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was marked as handled by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ProcessJsonResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ApplyConfigurationResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was marked as handled by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ApplyConfigurationResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [INF] Request finished HTTP/2 GET https://auth.obinex.com.tr/.well-known/openid-configuration - - - 200 2189 application/json;charset=UTF-8 59.1403ms
2023-10-11 11:30:31.766 +03:00 [DBG] Connection ID "17870283373751042545" disconnecting.

apihost log


2023-10-11 11:30:14.953 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - -
2023-10-11 11:30:14.953 +03:00 [ERR] Exception occurred while processing message.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
   at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2023-10-11 11:30:14.953 +03:00 [ERR] Connection ID "17942340929134264408", Request ID "40000059-0003-f900-b63f-84710c7967bb": An unhandled exception was thrown by the application.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
   at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
2023-10-11 11:30:14.954 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - - - 500 - - 1.0482ms```
Answer

auth log..


2023-10-11 11:29:07.278 +03:00 [INF] Request finished HTTP/2 POST https://auth.obinex.com.tr/connect/token application/x-www-form-urlencoded 185 - 200 1221 application/json;charset=UTF-8 254.6179ms
2023-10-11 11:30:31.707 +03:00 [INF] Request starting HTTP/2 GET https://auth.obinex.com.tr/.well-known/openid-configuration - -
2023-10-11 11:30:31.708 +03:00 [DBG] The request path /.well-known/openid-configuration does not match a supported file type
2023-10-11 11:30:31.708 +03:00 [DBG] No candidates found for the request path '/.well-known/openid-configuration'
2023-10-11 11:30:31.709 +03:00 [DBG] Request did not match any endpoints
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri.
2023-10-11 11:30:31.709 +03:00 [INF] The request URI matched a server endpoint: "Configuration".
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader.
2023-10-11 11:30:31.720 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ExtractConfigurationRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ExtractGetRequest`1[[OpenIddict.Server.OpenIddictServerEvents+ExtractConfigurationRequestContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.720 +03:00 [INF] The configuration request was successfully extracted: {}.
2023-10-11 11:30:31.720 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ExtractConfigurationRequest.
2023-10-11 11:30:31.721 +03:00 [INF] The configuration request was successfully validated.
2023-10-11 11:30:31.721 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ValidateConfigurationRequest.
2023-10-11 11:30:31.723 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachIssuer.
2023-10-11 11:30:31.723 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachEndpoints.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachGrantTypes.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachResponseModes.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachResponseTypes.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachClientAuthenticationMethods.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachCodeChallengeMethods.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachScopes.
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728015 ThreadID:40  (ENTRY)   OracleExecutionStrategyFactory.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728054 ThreadID:40  (EXIT)    OracleExecutionStrategyFactory.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728061 ThreadID:40  (EXIT)    OracleExecutionStrategy.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728088 ThreadID:40  (ENTRY)   OracleRelationalConnection.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728096 ThreadID:40  (EXIT)    OracleRelationalConnection.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728115 ThreadID:40  (ENTRY)   OracleConventionSetBuilder.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728122 ThreadID:40  (EXIT)    OracleConventionSetBuilder.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728479 ThreadID:40  (ENTRY)   OracleModificationCommandBatchFactory.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728528 ThreadID:40  (EXIT)    OracleModificationCommandBatchFactory.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728585 ThreadID:40  (ENTRY)   OracleValueGeneratorSelector.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728598 ThreadID:40  (EXIT)    OracleValueGeneratorSelector.ctor() 
2023-10-11 11:30:31.728 +03:00 [DBG] Entity Framework Core 7.0.1 initialized 'OpenIddictProDbContext' using provider 'Oracle.EntityFrameworkCore:7.0.21.1-20221205' with options: QuerySplittingBehavior=SplitQuery 
2023-10-11 11:30:31.729 +03:00 [DBG] Compiling query expression: 
'DbSet&lt;OpenIddictScope&gt;()'
2023-10-11 11:30:31.735 +03:00 [DBG] Generated query execution expression: 
'queryContext => 
{
    queryContext.AddParameter(
        name: "__ef_filter__p_0", 
        value: (object)Invoke(queryContext => (object)!(((OpenIddictProDbContext)queryContext.Context).IsSoftDeleteFilterEnabled), queryContext));
    return new SplitQueryingEnumerable&lt;OpenIddictScope&gt;(
        (RelationalQueryContext)queryContext, 
        RelationalCommandCache.QueryExpression(
            Projection Mapping:
                EmptyProjectionMember -> Dictionary&lt;IProperty, int&gt; { [Property: OpenIddictScope.Id (Guid) Required PK AfterSave:Throw, 0], [Property: OpenIddictScope.ConcurrencyStamp (string) Concurrency MaxLength(40), 1], [Property: OpenIddictScope.CreationTime (DateTime) Required, 2], [Property: OpenIddictScope.CreatorId (Guid?), 3], [Property: OpenIddictScope.DeleterId (Guid?), 4], [Property: OpenIddictScope.DeletionTime (DateTime?), 5], [Property: OpenIddictScope.Description (string), 6], [Property: OpenIddictScope.Descriptions (string), 7], [Property: OpenIddictScope.DisplayName (string), 8], [Property: OpenIddictScope.DisplayNames (string), 9], [Property: OpenIddictScope.ExtraProperties (ExtraPropertyDictionary), 10], [Property: OpenIddictScope.IsDeleted (bool) Required ValueGenerated.OnAdd, 11], [Property: OpenIddictScope.LastModificationTime (DateTime?), 12], [Property: OpenIddictScope.LastModifierId (Guid?), 13], [Property: OpenIddictScope.Name (string) Index MaxLength(200), 14], [Property: OpenIddictScope.Properties (string), 15], [Property: OpenIddictScope.Resources (string), 16] }
            SELECT o.Id, o.ConcurrencyStamp, o.CreationTime, o.CreatorId, o.DeleterId, o.DeletionTime, o.Description, o.Descriptions, o.DisplayName, o.DisplayNames, o.ExtraProperties, o.IsDeleted, o.LastModificationTime, o.LastModifierId, o.Name, o.Properties, o.Resources
            FROM OpenIddictScopes AS o
            WHERE @__ef_filter__p_0 || Not(o.IsDeleted)), 
        ReaderColumn[] { ReaderColumn&lt;Guid&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;DateTime&gt;, ReaderColumn&lt;Guid&gt;, ReaderColumn&lt;Guid&gt;, ReaderColumn&lt;DateTime&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;bool&gt;, ReaderColumn&lt;DateTime&gt;, ReaderColumn&lt;Guid&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;object&gt;, ReaderColumn&lt;object&gt; }, 
        Func&lt;QueryContext, DbDataReader, ResultContext, SplitQueryResultCoordinator, OpenIddictScope&gt;, 
        null, 
        null, 
        Volo.Abp.OpenIddict.EntityFrameworkCore.OpenIddictProDbContext, 
        False, 
        False, 
        True
    );
}'
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735456 ThreadID:40  (ENTRY)   OracleExecutionStrategy.ExecuteAsync() 
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735750 ThreadID:40  (ENTRY)   OracleRelationalCommand.ExecuteReaderAsync() 
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735771 ThreadID:40  (ENTRY)   OracleRelationalCommand.CreateCommand() 
2023-10-11 11:30:31.735 +03:00 [DBG] Creating DbCommand for 'ExecuteReader'.
2023-10-11 11:30:31.735 +03:00 [DBG] Creating DbConnection.
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735812 ThreadID:40  (ENTRY)   OracleRelationalConnection.CreateDbConnection() 
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735858 ThreadID:40  (EXIT)    OracleRelationalConnection.CreateDbConnection() 
2023-10-11 11:30:31.735 +03:00 [DBG] Created DbConnection. (0ms).
2023-10-11 11:30:31.735 +03:00 [DBG] Created DbCommand for 'ExecuteReader' (0ms).
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735900 ThreadID:40  (EXIT)    OracleRelationalCommand.CreateCommand() 
2023-10-11 11:30:31.735 +03:00 [DBG] Opening connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.736 +03:00 [DBG] Opened connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.736 +03:00 [DBG] 2023-10-11 11:30:31.736239 ThreadID:40  (SQL)     OracleRelationalCommand.ExecuteReaderAsync() : SELECT "o"."Id", "o"."ConcurrencyStamp", "o"."CreationTime", "o"."CreatorId", "o"."DeleterId", "o"."DeletionTime", "o"."Description", "o"."Descriptions", "o"."DisplayName", "o"."DisplayNames", "o"."ExtraProperties", "o"."IsDeleted", "o"."LastModificationTime", "o"."LastModifierId", "o"."Name", "o"."Properties", "o"."Resources" FROM "OpenIddictScopes" "o" WHERE ((:ef_filter__p_0 &lt;&gt; 0) OR ("o"."IsDeleted" = 0))
2023-10-11 11:30:31.736 +03:00 [DBG] Executing DbCommand [Parameters=[:ef_filter__p_0='?' (DbType = Byte)], CommandType='"Text"', CommandTimeout='0']
SELECT "o"."Id", "o"."ConcurrencyStamp", "o"."CreationTime", "o"."CreatorId", "o"."DeleterId", "o"."DeletionTime", "o"."Description", "o"."Descriptions", "o"."DisplayName", "o"."DisplayNames", "o"."ExtraProperties", "o"."IsDeleted", "o"."LastModificationTime", "o"."LastModifierId", "o"."Name", "o"."Properties", "o"."Resources"
FROM "OpenIddictScopes" "o"
WHERE ((:ef_filter__p_0 &lt;&gt; 0) OR ("o"."IsDeleted" = 0))
2023-10-11 11:30:31.737 +03:00 [INF] Executed DbCommand (1ms) [Parameters=[:ef_filter__p_0='?' (DbType = Byte)], CommandType='"Text"', CommandTimeout='0']
SELECT "o"."Id", "o"."ConcurrencyStamp", "o"."CreationTime", "o"."CreatorId", "o"."DeleterId", "o"."DeletionTime", "o"."Description", "o"."Descriptions", "o"."DisplayName", "o"."DisplayNames", "o"."ExtraProperties", "o"."IsDeleted", "o"."LastModificationTime", "o"."LastModifierId", "o"."Name", "o"."Properties", "o"."Resources"
FROM "OpenIddictScopes" "o"
WHERE ((:ef_filter__p_0 &lt;&gt; 0) OR ("o"."IsDeleted" = 0))
2023-10-11 11:30:31.737 +03:00 [DBG] 2023-10-11 11:30:31.737461 ThreadID:40  (EXIT)    OracleRelationalCommand.ExecuteReaderAsync() 
2023-10-11 11:30:31.737 +03:00 [DBG] 2023-10-11 11:30:31.737487 ThreadID:40  (EXIT)    OracleExecutionStrategy.ExecuteAsync() 
2023-10-11 11:30:31.739 +03:00 [DBG] Context 'OpenIddictProDbContext' started tracking 'OpenIddictScope' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
2023-10-11 11:30:31.757 +03:00 [DBG] Closing data reader to '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.757 +03:00 [DBG] A data reader for '' on server '127.0.0.1:1521/orcl' is being disposed after spending 20ms reading results.
2023-10-11 11:30:31.757 +03:00 [DBG] Closing connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.757 +03:00 [DBG] Closed connection to database '' on server '127.0.0.1:1521/orcl' (0ms).
2023-10-11 11:30:31.757 +03:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] SaveChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] 2023-10-11 11:30:31.762408 ThreadID:40  (ENTRY)   OracleExecutionStrategy.ExecuteAsync() 
2023-10-11 11:30:31.762 +03:00 [DBG] 2023-10-11 11:30:31.762429 ThreadID:40  (EXIT)    OracleExecutionStrategy.ExecuteAsync() 
2023-10-11 11:30:31.762 +03:00 [DBG] SaveChanges completed for 'OpenIddictProDbContext' with 0 entities written to the database.
2023-10-11 11:30:31.762 +03:00 [DBG] 'OpenIddictProDbContext' disposed.
2023-10-11 11:30:31.762 +03:00 [DBG] Disposing connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.762 +03:00 [DBG] Disposed connection to database '' on server '' (0ms).
2023-10-11 11:30:31.762 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by Volo.Abp.OpenIddict.Scopes.AttachScopes.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachClaims.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachSubjectTypes.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachSigningAlgorithms.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachAdditionalMetadata.
2023-10-11 11:30:31.764 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+HandleConfigurationRequest.
2023-10-11 11:30:31.765 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+AttachHttpResponseCode`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].```
Answer

trying to access one swagger method

here is the api log page

2023-10-10 11:09:45.693 +03:00 [INF] Request starting HTTP/1.1 GET https://apihost.obinex.com.tr/api/app/direct-pay-kKTCELLGSMReconciliation-details - -
2023-10-10 11:09:45.694 +03:00 [ERR] Exception occurred while processing message.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
   at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-10 11:09:45.694 +03:00 [ERR] Connection ID "17726168142725513280", Request ID "40000047-0002-f600-b63f-84710c7967bb": An unhandled exception was thrown by the application.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
   at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.&lt;&gt;c__DisplayClass6_1.&lt;&lt;UseMiddlewareInterface&gt;b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
2023-10-10 11:09:45.694 +03:00 [INF] Request finished HTTP/1.1 GET https://apihost.obinex.com.tr/api/app/direct-pay-kKTCELLGSMReconciliation-details - - - 500 - - 0.8690ms

Answer

i can login from swagger app..

Showing 1 to 10 of 22 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15