File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ describe('MCP Auth Router', () => {
213213 expect ( response . body . response_types_supported ) . toEqual ( [ 'code' ] ) ;
214214 expect ( response . body . grant_types_supported ) . toEqual ( [ 'authorization_code' , 'refresh_token' ] ) ;
215215 expect ( response . body . code_challenge_methods_supported ) . toEqual ( [ 'S256' ] ) ;
216- expect ( response . body . token_endpoint_auth_methods_supported ) . toEqual ( [ 'client_secret_post' ] ) ;
216+ expect ( response . body . token_endpoint_auth_methods_supported ) . toEqual ( [ 'client_secret_post' , 'none' ] ) ;
217217 expect ( response . body . revocation_endpoint_auth_methods_supported ) . toEqual ( [ 'client_secret_post' ] ) ;
218218
219219 // Verify optional fields
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export const createOAuthMetadata = (options: {
9292 code_challenge_methods_supported : [ 'S256' ] ,
9393
9494 token_endpoint : new URL ( token_endpoint , baseUrl || issuer ) . href ,
95- token_endpoint_auth_methods_supported : [ 'client_secret_post' ] ,
95+ token_endpoint_auth_methods_supported : [ 'client_secret_post' , 'none' ] ,
9696 grant_types_supported : [ 'authorization_code' , 'refresh_token' ] ,
9797
9898 scopes_supported : options . scopesSupported ,
You can’t perform that action at this time.
0 commit comments