Skip to content
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 for custom HTTP headers #263

Open
llamafilm opened this issue Sep 6, 2024 · 0 comments
Open

Support for custom HTTP headers #263

llamafilm opened this issue Sep 6, 2024 · 0 comments

Comments

@llamafilm
Copy link

Our Trino cluster requires JWT authentication which can be sent as an HTTP header in the form of Authorization: Bearer $TOKEN. The Trino datasource settings page shows a button to add custom HTTP headers, but when I try that it fails:

grafana | logger=context userId=1 orgId=1 uname=admin t=2024-09-06T19:33:34.510609046Z level=error msg=InternalError error="[plugin.downstreamError] client: failed to query data: Failed to query data: rpc error: code = Unknown desc = error reading settings: Custom headers are not supported and must be not set" remote_addr=xxxxxxxxx traceID=

It would be awesome to get this feature added, as it's the only way my company allows external Trino access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant