--- a/mod_auth_jetbrains_hub.lua Mon Oct 21 20:38:02 2019 -0500
+++ b/mod_auth_jetbrains_hub.lua Thu Oct 24 04:55:25 2019 -0500
@@ -31,7 +31,7 @@
local hub_groups = module:get_option_set("jetbrains_hub_groups", {});
--- we only need to update the group part of the query once on load so do it
+-- we only need to update the group part of the query once on load so do it local group_query = get_group_query()
@@ -152,6 +152,7 @@
function provider.test_password(username, password)
+ module:log("debug", "testing password for jbhub auth") local headers = { Authorization = "Basic "..base64(hub_client_id..":"..hub_client_secret); };
{ name = "grant_type", value = "password" };