ringcentral / ringcentral/ringcentral-python
Using the SDK in background tasks
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 56
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
We are using OAuth 2.0 Authorization Code Flow and save tokens to our DB.
We process webhooks that we receive from ringcentral in background tasks.
Each time a background task is run, we have to initialise the SDK with authentication data. Since expire_time and refresh_token_expire_time are calculated whenever auth data is being set, this will not work for us.
Is there a way we can use the sdk for this use case?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is identified; start by tracing SDK authentication initialization and how expire_time and refresh_token_expire_time are calculated when auth data is set. Done would be a clear, supported approach for reusing saved OAuth tokens in webhook background tasks, with documentation or tests describing the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, authentication, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100