News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Unable to use API Reference if authentication mode = JWT
Tags: rest api
Apr 19, 2022 at 11:22am   •   2 replies  •  0 likes
Oleg Zaiat

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 ?

2 Answers
answered on Jul 18, 2023 at 10:34am  

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?


 0
on Jul 18, 2023 at 10:36am   •  0 likes

What is your app client id?

on Jul 19, 2023 at 7:03am   •  0 likes

Sandbox: 58vApvr780Wbl06i4ZMp9q

on Jul 19, 2023 at 8:04am   •  1 likes

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.

on Jul 19, 2023 at 12:50pm   •  0 likes

Thank you, I see Auth type is changed to custom and it is working from API reference. Hopefully it doesn't break the JWT auth flow as we are planning to promote this to PROD as well

on Jul 19, 2023 at 1:36pm   •  1 likes

Should still work with JWT for your app. Let me know if it does not.

answered on Apr 20, 2022 at 7:16am  

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.


 1
on Jun 14, 2022 at 8:46am   •  0 likes

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.

on Jun 14, 2022 at 10:02am   •  0 likes

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

on Jun 14, 2022 at 8:36am   •  0 likes

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.

on Apr 20, 2022 at 7:41am   •  0 likes

dev app client id: etjBCOouQx6rOPjc6ldlGQ

prod app client id: hPP-aLVwQEGeTGMdUqGu9g

on Apr 20, 2022 at 9:04am   •  1 likes

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

on Aug 2, 2022 at 11:50am   •  0 likes

Please, please, please !!!

dev app client id: hiWPQ1tpTp--fvn2dycpAQ

prod app client id: MSVBHk6LStKQextzYJdpsg

on Aug 2, 2022 at 2:32pm   •  1 likes

Done! Next time don't ride on a comment in an answer. It's really hard to find the new comment from a long comment list.



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us