I have set up client_credentials and password oauth2 clients but I always get a response of “unsupported_grant_type” in Postman. Any help would be much appreciated. Thanks a lot.
Hi,
just compared with my postman-examples, for me grant_type
= client_credentials
works.
E: my url is Api/access_token
though (my baseurl ends with /
):
Thanks. I tried client_credentials and password using /Api/access_token and get the same result. This used to work for me but this is a brand new install so I may have missed something somewhere (Ubuntu 18.04 running on virtualbox, SuiteCRM version is 7.11.15. There is nothing showing up in the apache error log, the syslog or suitecrm.log so I am not sure where to look to resolve this.
I changed Content_type in the header from application/vnd.api+json to application/x-www-form-urlencoded and that did the trick. Thanks.