question

Oleg Zaiat avatar image
Oleg Zaiat asked Suyash Joshi commented

Unable to use API Reference if authentication mode = JWT

For instance if I want to get the list of subscription either on dev/prod

https://developers.ringcentral.com/api-reference/Subscriptions/listSubscriptions

ChangeApp -> Select NEV & App -> Authorize

I've got:

Sorry!

Sorry, the selected app doesn't have proper authorization flow. Please contact Customer Support if needed.

W H Y ?

rest api
1 |3000

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

1 Answer

Phong Vu avatar image
Phong Vu answered Suyash Joshi commented

The API reference "Try it out" has not yet been changed to authenticate your app using JWT token. If you wish to use your app for just trying API out, create an app with password flow authentication for that purpose. If you still wish to use your current app for this, give me the app client id. I will also enable the password flow for the app so you can use both authentication methods.

5 comments
1 |3000

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

dev app client id: etjBCOouQx6rOPjc6ldlGQ

prod app client id: hPP-aLVwQEGeTGMdUqGu9g

0 Likes 0 ·

Password flow authentication enabled! You can use both auth methods.

1 Like 1 ·

Hello Phong.

Once I changed authentication flow to JWT auth flow in my app setting, I got this error when I try to test api using "Try Out" button on API document.

https://prnt.sc/ctxC8uTrvuws

https://prnt.sc/1c377sK_yG5L

https://prnt.sc/JVXqPhwwKpzh

I have created JWT assertion key so I can get a token that can access to API endpoint.

Please guide me why???

Thanks.

0 Likes 0 ·

Hello Phong.

Once I changed authentication flow to JWT auth flow in my app setting, I got this error when I try to test api using "Try Out" button on API document.

https://developers.ringcentral.com/api-reference/Call-Log/readCompanyCallLog

https://prnt.sc/ctxC8uTrvuws

https://prnt.sc/1c377sK_yG5L

https://prnt.sc/JVXqPhwwKpzh

I have created JWT assertion key so I can get a token that can access to API endpoint.

Please guide me why???

Thanks.

0 Likes 0 ·

Hi @NuCare Admin JWT flow won't work with 'Try it now' feature on our API Reference website.

0 Likes 0 ·

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