Consent cap of self-registered MCP clients: let the user see and free what counts, and hold it under parallel consents

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

Maintainer thường phản hồi trong vòng 1 ngày

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
46/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
authentication, backend

Hướng nghiên cứu

Read the follow-ups #3397 and #3434 and inspect the consent cap, its prune logic, /me/sessions, UserSessions.ListAsync, and the auth rate limit. Add a way for users to identify and end the consents that count toward the cap, and ensure parallel consent requests cannot exceed it, or document the accepted overshoot in the spec. Add tests for both behaviors; the issue does not name test files.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:identity plugin type:bug

Follow-ups of the cap on the self-registered MCP clients a user's consents keep (#3397, #3434), found in its review.

  • A user at the cap cannot see or free the consents that count. A valid consent whose tokens have expired still counts, since the prune keeps valid permanent authorizations, and /me/sessions does not list it (UserSessions.ListAsync needs a live token). A user whose client registers again at each install reaches the cap and then gets a bare invalid_request page, until an administrator removes a client or the user changes the password.
  • The cap is read before the insert. Parallel consent posts each pass the count, so the overshoot is the number in flight, bounded only by the auth rate limit of 20 a minute per address.

Wanted

  • A way for the user to see the consents to self-registered clients that count toward the cap and to end them, or a consent page that says what to do.
  • The cap held under parallel consents (the count inside the write, or a retry on conflict), or the accepted overshoot recorded in the spec.
  • Tests for each.

Found in the review of #3434. Bundle 26.

Ngôn ngữ chính
C#
Star
567
Fork
107
Merge trung bình
1 giờ 19 phút
Pull request đã merge (30 ngày)
353

Chuẩn bị môi trường

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 fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

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.