comparison mod_http_oauth2/mod_http_oauth2.lua @ 5268:bac39c6e7203

mod_http_oauth2: Remove another reference to obsolete function
author Kim Alvefur <zash@zash.se>
date Wed, 22 Mar 2023 00:09:58 +0100
parents 60e0bc35de33
children 3a1df3adad0c
comparison
equal deleted inserted replaced
5267:60e0bc35de33 5268:bac39c6e7203
424 -- TODO How would this make sense with components? 424 -- TODO How would this make sense with components?
425 -- Have an admin authenticate maybe? 425 -- Have an admin authenticate maybe?
426 response_type_handlers.code = nil; 426 response_type_handlers.code = nil;
427 response_type_handlers.token = nil; 427 response_type_handlers.token = nil;
428 grant_type_handlers.authorization_code = nil; 428 grant_type_handlers.authorization_code = nil;
429 check_credentials = function () return false end
430 end 429 end
431 430
432 -- OAuth errors should be returned to the client if possible, i.e. by 431 -- OAuth errors should be returned to the client if possible, i.e. by
433 -- appending the error information to the redirect_uri and sending the 432 -- appending the error information to the redirect_uri and sending the
434 -- redirect to the user-agent. In some cases we can't do this, e.g. if 433 -- redirect to the user-agent. In some cases we can't do this, e.g. if