From bfcaab68d9ca9dd0d5f20f57613be34b5e7798f7 Mon Sep 17 00:00:00 2001 From: Zhong Liang Ong Date: Tue, 2 Dec 2025 19:38:30 +0800 Subject: [PATCH] add scopes supported entry to protected resource metadata route Signed-off-by: Zhong Liang Ong --- metadata.go | 1 + 1 file changed, 1 insertion(+) diff --git a/metadata.go b/metadata.go index 81c4e56..3db4f5c 100644 --- a/metadata.go +++ b/metadata.go @@ -138,6 +138,7 @@ func (h *OAuth2Handler) HandleProtectedResourceMetadata(w http.ResponseWriter, r "resource_documentation": fmt.Sprintf("%s/docs", h.config.MCPURL), "resource_policy_uri": fmt.Sprintf("%s/policy", h.config.MCPURL), "resource_tos_uri": fmt.Sprintf("%s/tos", h.config.MCPURL), + "scopes_supported": []string{"openid", "profile", "email"}, } // Encode and send response