Api -
curl --location --request GET ‘https://www.gdms.cloud/oapi/oauth/token?username=&password=&grant_type=password&client_id=<client_id>&client_secret=<client_secret>’
{
“error”: “invalid_request”,
“error_description”: “Missing grant type”
}
client id is api id from gdms.cloud/system/developer
client secret shows below api id on https://www.gdms.cloud/system/developer
What is missing in the request? I am trying to bearer token and refresh token to manage device configuration
Getting invalid_grant error in oapi/oauth/token api
gourav.kumar
#1
gourav.kumar
#2
got token i was not encrypting password sha256 (MD5 (password)) https://doc.grandstream.dev/GDMS-API/EN/#api-157129717680909000028