author | Kim Alvefur <zash@zash.se> |
Sun, 22 Nov 2020 01:55:42 +0100 | |
changeset 4269 | 7b4a73364363 |
parent 4268 | 84bdf7e01744 |
child 4270 | b43c6d614d22 |
--- a/mod_http_oauth2/mod_http_oauth2.lua Sun Nov 22 01:54:06 2020 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Sun Nov 22 01:55:42 2020 +0100 @@ -196,6 +196,7 @@ if not user then return 401; end + -- TODO ask user for consent here if not request.url.query then response.headers.content_type = "application/json"; return oauth_error("invalid_request");