question

Oleg Zaiat avatar image
Oleg Zaiat asked Phong Vu 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.

Phong Vu avatar image
Phong Vu answered Phong Vu 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.

7 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.

Oleg Zaiat avatar image Oleg Zaiat commented ·

dev app client id: etjBCOouQx6rOPjc6ldlGQ

prod app client id: hPP-aLVwQEGeTGMdUqGu9g

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Oleg Zaiat commented ·

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

1 Like 1 ·
Oleg Zaiat avatar image Oleg Zaiat Phong Vu ♦♦ commented ·

Please, please, please !!!

dev app client id: hiWPQ1tpTp--fvn2dycpAQ

prod app client id: MSVBHk6LStKQextzYJdpsg

0 Likes 0 ·
Show more comments
NuCare Admin avatar image NuCare Admin commented ·

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 ·
NuCare Admin avatar image NuCare Admin commented ·

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 ·
Suyash Joshi avatar image Suyash Joshi ♦ NuCare Admin commented ·

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

0 Likes 0 ·
RC_Saviynt_ User avatar image
RC_Saviynt_ User answered Phong Vu commented

I am also facing same issue when we enable JWT auth. And I don't see password auth in our account. How do I use API reference in case JWT auth?

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.

Phong Vu avatar image Phong Vu ♦♦ commented ·

What is your app client id?

0 Likes 0 ·
RC_Saviynt_ User avatar image RC_Saviynt_ User Phong Vu ♦♦ commented ·

Sandbox: 58vApvr780Wbl06i4ZMp9q

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ RC_Saviynt_ User commented ·

This general problem will be resolved by the end of this month. I grant your app temporary access so you can try it with the API reference now.

1 Like 1 ·
Show more comments

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