OAuth 2.0 with Client Credentials Grant (Server Authentication) App
Hello,
We are getting Error : "{"error":"invalid_grant","error_description":"Grant credentials are invalid"}"
We are using Following credentials :
Box Developer App : FolderAccessApp
client_id = kg8c21k6e5w7rgydx3sv3rppva9u4d2n'
client_secret = REDACTED
grant_type = client_credentials
box_subject_type = enterprise
box_subject_type = 823485956
Please let us know why we are getting this Error
Thanks
-
Hello,
Can you please take a look in the developer console > configuration tab for you application and let me know what option you selected for application access? The options are app only or app+enterprise. There is a bug affecting this authentication method and I will need to set this selection on the backend for you. This is what is causing the error. Also, I redacted it above, but please ensure you never share your client secret publicly. This is a value that must be protected like a password.
Best,
Kourtney, Box Developer Advocate
サインインしてコメントを残してください。
コメント
3件のコメント