Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#139 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

bug
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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openfga/python-sdk

Tất cả issue của openfga/python-sdk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.