Authorize API with Web Application Failed

  • 1
  • Problem
  • Updated 1 year ago
I am trying to connect my web app to ringcentral for sending Fax but i am unable to authorize my application to ringcentral.When i am trying to run sample GIT  folder it is giving unauthorized error.
Test 1: authData.php Auth exception: Refresh token has expired Exception: Unauthorized for this grant type SDK HTTP Error at https://platform.devtest.ringcentral.com/restapi/oauth/token Response text: { "error" : "unauthorized_client", "error_description" : "Unauthorized for this grant type", "errors" : [ { "errorCode" : "OAU-251", "message" : "Unauthorized for this grant type" } ] } Previous: Response has unsuccessful status


#Windows #PHP 
Photo of Tayyab Sajjad

Tayyab Sajjad

  • 364 Points 250 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,132 Points 5k badge 2x thumb
The key message is "Unauthorized for this grant type".

Please check your app to make sure it supports the grant type.

Ref: https://github.com/ringcentral/ringcentral-php/issues/39#issuecomment-242907546 
Photo of Tayyab Sajjad

Tayyab Sajjad

  • 364 Points 250 badge 2x thumb
See it is not showing the password flow option..... Please help me 
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,132 Points 5k badge 2x thumb
If it's a sandbox app, you can simply create a new app instead to enable password flow.

By the way, public app doesn't support password flow.

If you have difficulty configuring it, please contact devsupport@ringcentral.com
Photo of Tayyab Sajjad

Tayyab Sajjad

  • 364 Points 250 badge 2x thumb
Can you help me how to resolve this ?

Photo of Tyler Long

Tyler Long, Official Rep

  • 6,928 Points 5k badge 2x thumb
I am a developer support and I am not good at the issue you encountered. Please contact customer support instead: https://success.ringcentral.com/  Thank you.