Skip to content

Commit 19aa23e

Browse files
committed
Manually re-order metadata to match RFC 8414 for easier review.
Meanwhile, I verified all this metadata is correct and consistent with what Claude has implemented.
1 parent 380eccb commit 19aa23e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

oauth-provider.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -776,13 +776,24 @@ class OAuthProviderImpl {
776776
issuer: new URL(tokenEndpoint).origin,
777777
authorization_endpoint: authorizeEndpoint,
778778
token_endpoint: tokenEndpoint,
779+
// not implemented: jwks_uri
779780
registration_endpoint: registrationEndpoint,
780-
token_endpoint_auth_methods_supported: ["client_secret_basic", "client_secret_post"],
781-
grant_types_supported: ["authorization_code", "refresh_token"],
782-
response_types_supported: ["code"],
783781
scopes_supported: this.options.scopesSupported,
782+
response_types_supported: ["code"],
784783
response_modes_supported: ["query"],
784+
grant_types_supported: ["authorization_code", "refresh_token"],
785+
token_endpoint_auth_methods_supported: ["client_secret_basic", "client_secret_post"],
786+
// not implemented: token_endpoint_auth_signing_alg_values_supported
787+
// not implemented: service_documentation
788+
// not implemented: ui_locales_supported
789+
// not implemented: op_policy_uri
790+
// not implemented: op_tos_uri
785791
revocation_endpoint: tokenEndpoint, // Reusing token endpoint for revocation
792+
// not implemented: revocation_endpoint_auth_methods_supported
793+
// not implemented: revocation_endpoint_auth_signing_alg_values_supported
794+
// not implemented: introspection_endpoint
795+
// not implemented: introspection_endpoint_auth_methods_supported
796+
// not implemented: introspection_endpoint_auth_signing_alg_values_supported
786797
code_challenge_methods_supported: ["plain", "S256"], // PKCE support
787798
};
788799

0 commit comments

Comments
 (0)