How to use OAuth2 grant type Client Credential?

I have read about the OAuth2 integration, but I could not find the grant_type=client_credential parameter. I attempted to make a request using the grant_type set to client_credential

grant_type:client_credentials
client_id:my_client_id
client_secret:my_client_secret

but I received an error.

{“error”: “unauthorized_client”}

Essentially, I am trying to establish a Machine-to-Machine integration without involving a user in the authentication process.

there is no service account in Frappe framework

create a system manager account and use api key and secret of that “service account” user. set role other than system manager for strict permissions.

edit: grant type not implemented at this moment

1 Like

Didn’t think of that. know that there is an alternative way to achieve the same functionality in Frappe. Thank You