How to generate Oauth token with grant_type=client_credentials

ChethanB4037292
Tera Contributor

How to generate Oauth token with grant_type=client_credentials, I followed this path System Oauth -> Application registery -> New -> Create an OAuth API endpoint for external clients -> filled details and left redirect url to empty.

 

But when I'm trying to generate with client_credentials as grant_type its throwing 401 unauthorized and with grant_type=password and username,password fields its working, but I want to generate with client_credentials.

 

Thanks in advance!!

0 REPLIES 0