hi
Try to set ValidateIssuerName and ValidateEndpoints to false
"IdentityClients": {
"Default": {
"GrantType": "client_credentials",
"ClientId": "_InvoiceService",
"ClientSecret": "1q2w3e*",
"Authority": "http://myproject-authserver",
"Scope": "DocumentService",
"RequireHttps": "false",
"ValidateIssuerName": false,
"ValidateEndpoints": false
}
},
hi
Can you add your code to a new template project and share it?
liming.ma@volosoft.com
I will check your code and find the cause.
Thanks.
hi
What is the page URL? Is it an Angular or an MVC page?
Thanks.
hi
the highligted button is pointing to locahost:44303
Which one?
Thanks.
hi
Try configuring IIS Request Limits in web config like this to increase the allowed query string length:
https://learn.microsoft.com/en-us/iis/configuration/system.webserver/security/requestfiltering/requestlimits/
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Any existing configuration you may have -->
+ <system.webServer>
+ <security>
+ <requestFiltering>
+ <requestLimits maxQueryString="4096" />
+ </requestFiltering>
+ </security>
+ </system.webServer>
</configuration>
Could you please share the request URL that returns a 400 error?
Thanks
Yes, you're right. : )
hi
What is your web server?
IIS, Kestrel or Nginx?
Thanks.
hi
Can you share the Debug logs of your api website? https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
liming.ma@volosoft.com
Thanks
hi
Can you use the source code to test it?
https://github.com/abpframework/abp/tree/dev/modules/docs/app/VoloDocs.Web https://github.com/abpframework/abp/tree/dev/modules/docs/
Thanks.