1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-03-24 09:35:06 +00:00

feat: add token_endpoint_auth_methods_supported to .well-known (#1388)

This commit is contained in:
Owen Voke
2026-03-23 17:51:32 +00:00
committed by GitHub
parent 2b5401dd2f
commit 3700bd942d

View File

@@ -91,6 +91,7 @@ func (wkc *WellKnownController) computeOIDCConfiguration() ([]byte, error) {
"id_token_signing_alg_values_supported": []string{alg.String()}, "id_token_signing_alg_values_supported": []string{alg.String()},
"authorization_response_iss_parameter_supported": true, "authorization_response_iss_parameter_supported": true,
"code_challenge_methods_supported": []string{"plain", "S256"}, "code_challenge_methods_supported": []string{"plain", "S256"},
"token_endpoint_auth_methods_supported": []string{"client_secret_basic", "client_secret_post", "none"},
} }
return json.Marshal(config) return json.Marshal(config)
} }