The SDK seems to not to be retrying when the token endpoint returns an error
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 32/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- authentication
Hướng nghiên cứu
Issue không nêu tên file, test hoặc entry point nào. Hãy lần theo cách SDK xử lý lỗi của token endpoint và đường dẫn retry đã cấu hình, sau đó thêm một regression test cho lỗi của endpoint. Công việc được hoàn tất khi các lỗi của token endpoint tuân theo hành vi retry đã cấu hình thay vì được trả về ngay lập tức.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 85
- Fork
- 36
- Merge trung bình
- 3 giờ 8 phút
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openfga/python-sdk
-
openfga/python-sdk#308 · 1 người được giao ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
openfga/python-sdk#214 · 1 bình luận · 1 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
openfga/python-sdk#194 · 2 bình luận ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
openfga/python-sdk#106 · 2 bình luận ·
-
bug waiting-user-feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
openfga/python-sdk#95 · 4 bình luận ·
Tất cả issue của openfga/python-sdk
Issue tương tự
-
agent-ready documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Add https://search.jeremyh.xyz/ Đang mởinstance instance add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
searxng/searx-instances#939 · 1 bình luận ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100