Add authorization examples in documentation

Đang mở
#1,315 2 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

@mohit32886 đang làm issue này rồi.

Từ ngày 16/11/2026.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java

Hướng nghiên cứu

Start by reading the SDK’s authentication and authorization APIs for server handlers, repositories, filters, and client-side hooks, then identify the documentation sections covering servers and clients. Add high-level guidance and code examples for making external authentication available to server components and connecting the client to an existing OAuth2 framework. Done when both flows are explained with examples; the issue does not name specific files or tests.

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

Mô tả

documentation

Our documentation lacks guidance and examples around authorization.

We should explain at a high-level, with code examples:

  • how to make authentication obtained outside the SDK available to the server handlers, repositories, and filters
  • how to use the client-side hooks to plug the client into an existing OAuth2 framework

In the case of the modern client, clarify the relationship between a "client" and a "user".

Initially reported in #1313

Ngôn ngữ chính
Java
Star
3.8k
Fork
1.1k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
38

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 modelcontextprotocol/java-sdk

Tất cả issue của modelcontextprotocol/java-sdk

Issue tương tự

Thêm issue về Java

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.