ringcentral / ringcentral/ringcentral-python
Using the SDK in background tasks
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 56
- Forks
- 40
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, authentication, backend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 28/100