Azure-Samples / Azure-Samples/remote-mcp-apim-functions-python

OAuth 2.0 Protected Resource Metadata support

Đang mở
#24 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Bicep
Star
129
Fork
79
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

According to MCP atuhorization specification 2025-06-18, supporting OAuth 2.0 Protected Resource Metadata becomes MUST.
https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization

Do you have a plan to add /.well-known/oauth-protected-resource endpoint to response resource metadata and to add the resource server endpoint info to WWW-Authenticate header of MCP API endpoints?

[example [RFC9728](https://datatracker.ietf.org/doc/html/rfc9728)]
HTTP/1.1 200 OK
Content-Type: application/json

{
"resource":
"https://resource.example.com",
"authorization_servers":
["https://as1.example.com",
"https://as2.example.net"],
"bearer_methods_supported":
["header", "body"],
"scopes_supported":
["profile", "email", "phone"],
"resource_documentation":
"https://resource.example.com/resource_documentation.html"
}

Hướng dẫn đóng góp

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

Đánh giá

Issue này chưa được đánh giá.

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.