Using the SDK in background tasks
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 28/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- api, authentication, backend
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.
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?
- Dominant language
- Python
- Stars
- 56
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
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.
More from ringcentral/ringcentral-python
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Script Information Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 28/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in ringcentral/ringcentral-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100