comparison mod_http_oauth2/mod_http_oauth2.lua @ 5386:6f13200c9fc1

mod_http_oauth2: Advertise required registration of redirect URIs Specified in OpenID Connect Discovery 1.0 Seems important to be aware of when registering a client.
author Kim Alvefur <zash@zash.se>
date Sat, 29 Apr 2023 13:26:33 +0200
parents 544b92750a2a
children 832c515b1650
comparison
equal deleted inserted replaced
5385:544b92750a2a 5386:6f13200c9fc1
951 code_challenge_methods_supported = array(it.keys(verifier_transforms)); 951 code_challenge_methods_supported = array(it.keys(verifier_transforms));
952 authorization_response_iss_parameter_supported = true; 952 authorization_response_iss_parameter_supported = true;
953 953
954 -- OpenID 954 -- OpenID
955 userinfo_endpoint = handle_register_request and module:http_url() .. "/userinfo" or nil; 955 userinfo_endpoint = handle_register_request and module:http_url() .. "/userinfo" or nil;
956 require_request_uri_registration = true;
956 }; 957 };
957 }; 958 };
958 }; 959 };
959 }); 960 });
960 961