-
Notifications
You must be signed in to change notification settings - Fork 64
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
feature: support forward OAuth2 authorization header #130
feature: support forward OAuth2 authorization header #130
Conversation
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
706b0ef
to
b816483
Compare
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
841ca11
to
45fcf51
Compare
The CI failure with the unknown transaction is a known issue, you can ignore that. I'll make sure everything is green before and after merging this. |
Nice thanks @nineinchnick for the feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except a few nitpicks. Please squash all commits, and remove the prefix from the commit message.
45fcf51
to
fa22903
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test, or update some existing ones?
5d5165e
to
b10bae8
Compare
Hi @nineinchnick, |
thanks for approving @nineinchnick, |
As soon as I get a response to this one last comment: #130 (comment) |
b10bae8
to
54e6474
Compare
Done, I had missed that last comment! |
Steps:
ForwardAuthorizationHeader
to configuration.ForwardAuthorizationHeader
to Conn struct.Note:
ForwardAuthorizationHeader
will overwriteAccessToken
if specified.close #129