trinodb / trino-gateway

https://trinodb.github.io/trino-gateway/
Apache License 2.0
145 stars 60 forks source link

Support JWT authentication provided by request header #449

Open jakelong95 opened 3 weeks ago

jakelong95 commented 3 weeks ago

We're running Trino Gateway behind a load balancer that provides an oauth JWT on all webapp requests through x-amzn-oidc-accesstoken, but our users need to sign in twice in order to view the Gateway UI - once for our organization's LB sso, and again for the Trino Gateway sso.

Has there been any consideration for getting an oauth JWT through a configurable header?

mosabua commented 3 weeks ago

No .. but that sounds perfectly reasonable to do. Want to look at sending a PR?