I'm trying to update my app to use JWT. I'm using the C# API. It seems like a one line change, but I'm getting the error
"errorCode" : "OAU-251",
"message" : "Unauthorized for this grant type"
I'm trying to update my app to use JWT. I'm using the C# API. It seems like a one line change, but I'm getting the error
"errorCode" : "OAU-251",
"message" : "Unauthorized for this grant type"
Hi,
I am facing exact same error "OAU-251", I have re-activated my sandbox account for this trial before I do change in production. But I am stuck.
what I did:
1) Reactivated the Sandbox - New number was provided as it was expired.
2) Created one JWT and restricted it for only one App by providing client ID
3) Attempted JWT authorization and got "OAU-251" error.
4) I am still able to use Password flow to Auth. But SMS is stopped so cannot test! :(
If Auth type change is required, then please share the page link from where to do that.
Finally, it worked. Under App/Settings I changed Auth Setting to JWT auth flow and after 10-15 minutes it worked. But the Password auth flow option is gone now!!
Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.
Download RingCentral Phone for Desktop:
Tip: switch to the "sandbox mode" before logging in the app:
10 People are following this question.