The SDK seems to not to be retrying when the token endpoint returns an error
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 85
- Forks
- 36
- Ø Merge
- 3 Std. 8 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of OpenFGA and the issue still persists.
- I have searched the Slack community and have not found a suitable solution or answer.
- I agree to the terms within the OpenFGA Code of Conduct.
Description
When the token endpoint returns error, the errors are returned to the client application instead of retrying.
Expectation
The SDK should retry, based on how it's configured for retrying.
Reproduction
OpenFGA SDK version
Latest
OpenFGA version
Latest
SDK Configuration
Logs
No response
References
No response
Beitragsleitfaden
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
In diesem Issue wird keine Datei, kein Test und kein Einstiegspunkt genannt. Verfolge die Fehlerbehandlung des Token-Endpunkts im SDK und den konfigurierten Retry-Pfad. Füge anschließend einen Regressionstest für einen Endpunktfehler hinzu. Erledigt ist die Aufgabe, wenn Fehler des Token-Endpunkts dem konfigurierten Retry-Verhalten folgen, anstatt sofort zurückgegeben zu werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- authentication
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 32/100