The SDK seems to not to be retrying when the token endpoint returns an error
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 85
- Fork
- 36
- Merge medio
- 3h 8m
- PR unite (30g)
- 3
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Nell'issue non sono indicati file, test o punti di ingresso. Traccia la gestione degli errori dell'endpoint dei token dell'SDK e il percorso di retry configurato, quindi aggiungi un test di regressione per un errore dell'endpoint. Il lavoro è completo quando gli errori dell'endpoint dei token seguono il comportamento di retry configurato invece di essere restituiti immediatamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- authentication
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 32/100