'.NET Core request filtering size limit problem
I am using JWT tokens as the authorization system. It works in the business layer with interceptor aspects.
Every time a request comes to my services, I check with this aspect whether the user is logged in or not. Also, I claim the user's claim roles with HttpContext.
When the user logs in, I add all the roles of the user in the token.
Roles contain access rights to services, each service method is a separate role.
Since the number of roles has increased, I get the following error when I send a request to my SignalR service.
When I delete the user's role number from the claim table manually, the error is fixed.
HTTP Error 404.15 - Not Found The request filtering module is configured to make a request with a query string that is too long.
How can I increase the request filtering length?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
