treasure-data / trino-client-ruby

Trino/Presto client library for Ruby
Apache License 2.0
70 stars 44 forks source link

How to Using Oauth2 with this client #121

Open yemaney opened 10 months ago

yemaney commented 10 months ago

The docs show that the current client has options to set the user and password for basic authentication. Was wondering if oauth2 could also be an option.

If not, would adding an oauth2 token to the http_headers option suffice to enable sending oauth2 authentication info to the trino cluster? If so, what sort of headers should be added to headers?

yuokada commented 7 months ago

Sorry for the late response. This client library doesn't support OAuth 2.0 authentication. And, we have no plan to support it.