Jason Fehr has posted comments on this change. ( https://gerrit.cloudera.org/25247 )
Change subject: IMPALA-14331: Support proxy for JWKS URL download ...................................................................... Patch Set 4: Code-Review+1 (8 comments) https://gerrit.cloudera.org/#/c/25247/3/be/src/util/jwt-util.cc File be/src/util/jwt-util.cc: https://gerrit.cloudera.org/#/c/25247/3/be/src/util/jwt-util.cc@751 PS3, Line 751: } else if (!jwks_doc.HasMember("keys")) { > Done, with one tweak. I added jwksProxyCaCertFilePath with exactly that beh Good catch! It should have been CURLOPT_PROXY_CAINFO instead of CAPATH. https://gerrit.cloudera.org/#/c/25247/3/be/src/util/jwt-util.cc@758 PS3, Line 758: } > Fixed by not allowing credentials in jwksProxy at all, so there's nothing l Done https://gerrit.cloudera.org/#/c/25247/3/be/src/util/oauth-server-config.cc File be/src/util/oauth-server-config.cc: https://gerrit.cloudera.org/#/c/25247/3/be/src/util/oauth-server-config.cc@52 PS3, Line 52: > I took option 2 partway: jwksProxy now rejects any username or password, ch Yes, let's take this approach to proxy auth. https://gerrit.cloudera.org/#/c/25247/3/be/src/util/oauth-server-config.cc@101 PS3, Line 101: > Done Done https://gerrit.cloudera.org/#/c/25247/3/tests/custom_cluster/test_shell_oauth_servers_auth.py File tests/custom_cluster/test_shell_oauth_servers_auth.py: https://gerrit.cloudera.org/#/c/25247/3/tests/custom_cluster/test_shell_oauth_servers_auth.py@36 PS3, Line 36: LOG = logging.getLogger(__name__) : : # Ports of the JWKS servers and proxies started by TestImpalaShellOAuthServersAuth. They : # are picked when the module is loaded because the impalad arguments depend on them. : JWKS_HTTP_PORT = get_unused_port() : JWKS_HTTPS_PORT = get_unused_port() : HTTP_PROXY_PORT = g > Done Done https://gerrit.cloudera.org/#/c/25247/3/tests/custom_cluster/test_shell_oauth_servers_auth.py@104 PS3, Line 104: '-oauth_jwks_file_path={0} -oauth_jwt_custom_claim_username=sub' > Done Done https://gerrit.cloudera.org/#/c/25247/3/tests/custom_cluster/test_shell_oauth_servers_auth.py@122 PS3, Line 122: cls.http_proxy = cls._start_proxy(HttpProxy(HTTP_PROXY_PORT, http_backend)) > Done Done https://gerrit.cloudera.org/#/c/25247/3/tests/custom_cluster/test_shell_oauth_servers_auth.py@209 PS3, Line 209: result = run_impala_shell_cmd(vector, args) > Done Done -- To view, visit https://gerrit.cloudera.org/25247 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6741b8e107f707d3fcc0a9e15ac01b5769191924 Gerrit-Change-Number: 25247 Gerrit-PatchSet: 4 Gerrit-Owner: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Comment-Date: Mon, 16 Nov 2026 17:32:19 +0000 Gerrit-HasComments: Yes
