# HG changeset patch # User Kim Alvefur # Date 1683036515 -7200 # Node ID 89c9e9bba60d2199189260f1a4a1f1903c2acdc6 # Parent 38da5ca498ddf7cb788d4569badd8fa01b5a8a5d mod_http_oauth2: Advertise response modes Are you supposed to be able to influence these somewhere, or is this just response types with different labels? diff -r 38da5ca498dd -r 89c9e9bba60d mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Tue May 02 16:07:09 2023 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Tue May 02 16:08:35 2023 +0200 @@ -963,6 +963,13 @@ return "authorization_code" end end); + response_modes_supported = array(it.keys(response_type_handlers)):map(function(h) + if h == "token" then + return "fragment" + elseif h == "code" then + return "query" + end + end); authorization_response_iss_parameter_supported = true; -- OpenID