question

Alina Zabolotnaia avatar image
Alina Zabolotnaia asked Suyash Joshi answered

JWT authorization doen't work for sanbox

I created JWTfor sandbox, created app with authorization type jwt, but I have error like that when I try to request.
1652449013337.png1652449185737.png
1652449273454.png

With Oauth it works fine.
What can be the problem?

authenticationauth
1652449013337.png (20.3 KiB)
1652449185737.png (45.3 KiB)
1652449273454.png (26.0 KiB)
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

Please refer to this previously asked question and answer.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Suyash Joshi avatar image
Suyash Joshi answered

Yes, JWT Authentication type does not work for API Reference tool. You can suggest this as a feature if you'd like.

At this moment, you will have to change to one of the other two Authentication types for your application in order to call the APIs from the API Reference tool. If your application is in 'Sandbox' environment, you can login to RingCentral Developer Console --> App --> Settings --> Auth Type (change it to one of the two below). If your application is in 'Production', file a service ticket for our developer support team and they can add or change the Auth type for your app.

1. Password Flow

2. 3 Legged OAuth Flow

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

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:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys