Skip to content

Commit 392923f

Browse files
add scopes supported entry to protected resource metadata route
1 parent 2237925 commit 392923f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

metadata.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func (h *OAuth2Handler) HandleProtectedResourceMetadata(w http.ResponseWriter, r
138138
"resource_documentation": fmt.Sprintf("%s/docs", h.config.MCPURL),
139139
"resource_policy_uri": fmt.Sprintf("%s/policy", h.config.MCPURL),
140140
"resource_tos_uri": fmt.Sprintf("%s/tos", h.config.MCPURL),
141+
"scopes_supported": []string{"openid", "profile", "email"},
141142
}
142143

143144
// Encode and send response

0 commit comments

Comments
 (0)