Hi
I am trying to get my access token using curl command. I looked at Question "https://devcommunity.ringcentral.com/ringcentraldev/topics/curl-command-for-requesting-access-token" but it is not working for me.
I am always getting : { "error" : "invalid_grant",
"error_description" : "Invalid resource owner credentials."
}
My credential are correct and also I tried with secret/access key and enoced it to base64 as well but for both the cases its throwing me the same above error.
If my credential are invalid I should not be able to login to web dashboard itself. I am bit confused here and not sure where I am going/doing wrong.
Thanks,
Pratap
"Also I want to disable expires for access_token and refresh_token. How can we achieve this? "
In any OAuth system in the earth, there is no way to disable expires for access_token and refresh_token because that will be a security issue. You cannot use a permanent access_token and refresh_token as that contradict the idea of OAuth Security system.
It is possible to use CURL to post messages to Glip group. Please have a try and create a new ticket if you have difficulties.
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "appKey:appSecret" \
-d "username=username&password=password&extension=&grant_type=password"
If it doesn't work. It's probably because your credential is wrong.
Please note that, you cannot use a sandbox credential for production or vice versa.
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder