autodesk forge – Not able to authenticate with Client credentials
thanks for the help!
I’m new to Autodesk, currently on the free trial. I’m not being able to authenticate my server-to-server app.
Here’s my api call:
curl -v ‘https://developer.api.autodesk.com/authentication/v2/token’ -X ‘POST’
-H ‘Content-Type: application/x-www-form-urlencoded’
-H ‘Accept: application/json’
-H ‘Authorization: Basic my ClientID:Client secret base64‘
-d ‘grant_type=client_credentials’
-d ‘scope=data:read’
The error I’m getting is:
Raw response for the API
Status code 400
{“error”:”invalid_request”,”error_description”:”The token request must specify a valid ‘grant_type’.”}
I’ve double checked the base64 encoded keys and that my app is server-to-server.
Any help will be greatly appreciated.
Read more here: Source link
