Configurate client with openID with auth method POST


We have registered a client using token_endpoint_auth_method = client_secret_post.

We start the application and we see that when the token-url is requested, spring uses as default authentication clientAuthenticationMethod = ClientAuthenticationMethod.BASIC;

How could we indicate that POST method must be used?
Can it be specified in the application.yml file?

Thank you very much.