Skip to content

Commit c7af003

Browse files
committed
docs: clarify refresh token requirements for Client ID Metadata Document in authorization code flow
1 parent 945d0a5 commit c7af003

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

auth/authorization_code.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ type AuthorizationCodeHandlerConfig struct {
101101
// "refresh_token" in [DynamicClientRegistrationConfig].Metadata.GrantTypes
102102
// directly to advertise refresh token support to the Authorization Server.
103103
//
104+
// When using Client ID Metadata Document, the document hosted at the
105+
// Client ID URL should include "refresh_token" in its grant_types.
106+
//
104107
// See https://modelcontextprotocol.io/seps/2207-oidc-refresh-token-guidance.
105108
RequestRefreshToken bool
106109

0 commit comments

Comments
 (0)