diff mod_http_oauth2/mod_http_oauth2.lua @ 4265:7b4a73364363

mod_http_oauth2: Add TODO
author Kim Alvefur <zash@zash.se>
date Sun, 22 Nov 2020 01:55:42 +0100
parents d3af5f94d6df
children 143515d0b212
line wrap: on
line diff
--- 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");