Skip to main content
Answer

Unable to use API Reference if authentication mode = JWT

  • April 19, 2022
  • 6 replies
  • 867 views

  • Participating Frequently

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 ?

Best answer by PhongVu

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.

6 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • Answer
  • April 20, 2022

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.


  • Author
  • Participating Frequently
  • April 20, 2022

dev app client id: etjBCOouQx6rOPjc6ldlGQ

prod app client id: hPP-aLVwQEGeTGMdUqGu9g


  • Participating Frequently
  • June 14, 2022

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.


  • Participating Frequently
  • June 14, 2022

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.


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?


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • July 18, 2023

What is your app client id?