foogao opened a new pull request, #11648:
URL: https://github.com/apache/apisix/pull/11648

   ### Description
   
   In HTTP specification, the form of Content-Type as following:
   Content-Type: <media-type>[; key=value]
   
   For examples:
   
   Content-Type: text/html; charset=utf-8
   Content-Type: multipart/form-data; boundary=boundary-string
   
   But in the authz-keycloak plugin, the condition to decide if current request 
is for granting token from Keycloak must be full match the 
"application/x-www-form-urlencoded". It will cause some client libraries to be 
unable to obtain the token.
   
   For example, the RestTemplate in SpringFramework, it will add parameter 
after the content-type directive automatically.
   
   This pull request resolved this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to