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
Multiple Auth Requests - Python w/ JWT Auth
Tags: authentication
Nov 30, 2023 at 2:46pm   •   1 replies  •  0 likes
EdBou

Still new developing with this platform. I am running a python script that fetches an access token that is stored in our system and used by other processes to access information. The access token is generated using the jwt auth flow.

Why will there sometimes be multiple auth requests listed in the integration API call history done in a short amount of time. Only one process calls this app and the token is generated every 15 mins.

Are there other processes behind the scene that generate bearer tokens that could explain this?

Thanks!

1 Answer
answered on Nov 30, 2023 at 5:02pm  

Any API call logged in the API call history must be called by your app or any app that uses the same app client id and client secret.

You should double check your code to make sure that it's not calling the /auth in a loop.

You said that your Python script fetches an access token stored in your system, how did you get the access token and store it there? Check that part.

You also said that only one process calls this app ..., but it seems that you have 2 processes, one gets the access token and store in your system, and one fetches the access token and call other APIs?


 0
on Dec 4, 2023 at 10:06am   •  0 likes

Hey,

Thanks for taking the time to answer.

The issue was with the server on which the code was running. This has been solved.



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