Sample Oauth2 config.enable_client_credentials=true example

I am trying to use client credentials in OAuth 2 plugin. How do i get token ? In documentation its only written as The Client Credentials flow will work out of the box, without building any authorization page. The clients will need to use the /oauth2/token endpoint to request an access token.

If you can share sample curl post, it would help


Hi Sujeet,

We have an article here with some more details you may find useful.