Skip to content

I'm looking for help with the "external-authentication" option in a connection string #459

Answered by hashhar
eugenepik asked this question in Q&A
Discussion options

You must be logged in to vote

See the examples at https://github.com/trinodb/trino-python-client?tab=readme-ov-file#oauth2-authentication.

external-authentication is a JDBC driver property. In Python client we have different auth classes (you can also add your own) for each auth mechanism so it's just a matter of using the correct auth class in the connect call.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by eugenepik
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants