Skip to content

Commit defd538

Browse files
committed
feat: add serialization for code challenge methods in metadata
- Add support for serializing supported code challenge methods in AuthServerMetadata Signed-off-by: appleboy <[email protected]>
1 parent 8f5b048 commit defd538

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/transport/oauth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ type AuthServerMetadata struct {
105105
ResponseTypesSupported []string `json:"response_types_supported"`
106106
GrantTypesSupported []string `json:"grant_types_supported,omitempty"`
107107
TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported,omitempty"`
108+
CodeChallengeMethodsSupported []string `json:"code_challenge_methods_supported,omitempty"`
108109
}
109110

110111
// OAuthHandler handles OAuth authentication for HTTP requests

0 commit comments

Comments
 (0)