openfga / openfga/python-sdk

The SDK seems to not to be retrying when the token endpoint returns an error

Aperta
#139 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. 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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.