mod_http_oauth2: Fix accidental uppercase in invocation of hash function
Thanks auto-complete!
--- a/mod_http_oauth2/mod_http_oauth2.lua Sun Apr 30 16:13:40 2023 +0200
+++ b/mod_http_oauth2/mod_http_oauth2.lua Sun Apr 30 16:41:30 2023 +0200
@@ -401,7 +401,7 @@
function verifier_transforms.S256(code_verifier)
-- code_challenge = BASE64URL-ENCODE(SHA256(ASCII(code_verifier)))
- return code_verifier and b64url(hashes.SHA256(code_verifier));
+ return code_verifier and b64url(hashes.sha256(code_verifier));
end
-- Used to issue/verify short-lived tokens for the authorization process below