Skip to content

Commit 2d62e3c

Browse files
committed
feat: add PKCE code challenge methods support to AuthServerMetadata
- Add CodeChallengeMethodsSupported field to AuthServerMetadata struct to support PKCE code challenge methods Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 8f5b048 commit 2d62e3c

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)