The SDK seems to not to be retrying when the token endpoint returns an error
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 85
- Forks
- 36
- Avg merge
- 3h 8m
- Merged PRs (30d)
- 3
Description
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
Contributor guide
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.
Research direction
No file, test, or entry point is named in the issue. Trace the SDK's token endpoint error handling and configured retry path, then add a regression test for an endpoint error. Done means token-endpoint errors follow the configured retry behavior instead of being returned immediately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100