Add client_credentials grant type feature for oauth2

Thanks for your reponse.
I use Keycloak as oauth2 provider with client_credentials grant_type
As workaround, i have created first an http request to retrieve token and passed it to header of my api. This works well but should be great if oauth2 (or new oauth2 app2app credentals) manage it. We do not need authorization url.
Oauth credentials could be modified by setting an grant_type and require authorization url only if not client_credentials