From 38770f55e9a27c33972250636c4a696de6154d0d Mon Sep 17 00:00:00 2001 From: Mitar Date: Sun, 28 Jan 2024 11:29:58 -0800 Subject: [PATCH] Add "form_post" to list of supported response modes. --- oauth2/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2/handler.go b/oauth2/handler.go index 5662be5cc8e..66a746d2efb 100644 --- a/oauth2/handler.go +++ b/oauth2/handler.go @@ -495,7 +495,7 @@ func (h *Handler) discoverOidcConfiguration(w http.ResponseWriter, r *http.Reque IDTokenSignedResponseAlg: []string{key.Algorithm}, UserinfoSignedResponseAlg: []string{key.Algorithm}, GrantTypesSupported: []string{"authorization_code", "implicit", "client_credentials", "refresh_token"}, - ResponseModesSupported: []string{"query", "fragment"}, + ResponseModesSupported: []string{"query", "fragment", "form_post"}, UserinfoSigningAlgValuesSupported: []string{"none", key.Algorithm}, RequestParameterSupported: true, RequestURIParameterSupported: true,