mod_http_oauth2/mod_http_oauth2.lua
changeset 5185 2c6acf2d6fd4
parent 5010 5dadbe0718f1
child 5186 20ba6340f524
--- a/mod_http_oauth2/mod_http_oauth2.lua	Wed Mar 01 13:21:29 2023 +0000
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Wed Mar 01 21:11:48 2023 +0100
@@ -166,7 +166,7 @@
 		module:log("debug", "authorization_code invalid or expired: %q", code);
 		return oauth_error("invalid_client", "incorrect credentials");
 	end
-	assert(codes:set(client_owner, client_id .. "#" .. params.code, nil));
+	assert(codes:set(client_id .. "#" .. params.code, nil));
 
 	return json.encode(new_access_token(code.granted_jid, code.granted_scopes, nil));
 end