-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support certificate authentication on Trino #269
Comments
In Another potential option is to support the |
@electrum for the RFC 9440 do we need to touch jetty at all? We have an access to the headers in the |
No. ContainerRequestContext is enough. I think the flow would be:
|
(Feature request)
Trino Gateway currently doesn't work if the backend Trino is using certificate authentication.
There are a few ways that I could think of to solve this issue. Discussion is needed before moving to implementation.
Perform authentication on Trino Proxy. Forward the request to coordinator base on the routing policies.
Perform authentication between Trino Proxy and Coordinator.
Allow Trino Proxy to "impersonate" the user.
First decrypt the request, select coordinator base on routing policies.
Return HTTP 307 Redirect to the selected coordinator.
Client directly connect to the Trino coordinator.
(I don't think this will work since hostname wont't match)
Looking at the dev sync's meeting notes, method 1 seems a reasonable choice.
Support Certificate Authentication in Trino Gateway (draft)
The text was updated successfully, but these errors were encountered: