Skip to content

Commit a69bf1a

Browse files
kalil-pelissierkvlil
authored andcommitted
Support forwarding OAuth2 authorization header
1 parent 80215f4 commit a69bf1a

File tree

6 files changed

+156
-60
lines changed

6 files changed

+156
-60
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: steps.check-for-backend.outputs.has-backend == 'true'
3838
uses: actions/setup-go@v4
3939
with:
40-
go-version: "1.20"
40+
go-version: "1.22"
4141

4242
- name: Test backend
4343
if: steps.check-for-backend.outputs.has-backend == 'true'

go.mod

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
module github.com/trinodb/grafana-trino
22

3-
go 1.18
3+
go 1.22
4+
5+
toolchain go1.23.1
46

57
require (
68
github.com/grafana/grafana-plugin-sdk-go v0.162.0
79
github.com/grafana/sqlds/v2 v2.7.2
810
github.com/pkg/errors v0.9.1
9-
github.com/trinodb/trino-go-client v0.312.0
11+
github.com/trinodb/trino-go-client v0.320.0
1012
)
1113

1214
require (
1315
github.com/BurntSushi/toml v1.2.1 // indirect
1416
github.com/apache/arrow/go/arrow v0.0.0-20211112161151-bc219186db40 // indirect
1517
github.com/beorn7/perks v1.0.1 // indirect
16-
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
18+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
1719
github.com/cespare/xxhash/v2 v2.2.0 // indirect
1820
github.com/cheekybits/genny v1.0.0 // indirect
1921
github.com/chromedp/cdproto v0.0.0-20230329100754-6125fc8d7142 // indirect
@@ -38,7 +40,12 @@ require (
3840
github.com/hashicorp/go-uuid v1.0.3 // indirect
3941
github.com/hashicorp/yamux v0.1.1 // indirect
4042
github.com/invopop/yaml v0.2.0 // indirect
43+
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
44+
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
4145
github.com/jcmturner/gofork v1.7.6 // indirect
46+
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
47+
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
48+
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
4249
github.com/josharian/intern v1.0.0 // indirect
4350
github.com/json-iterator/go v1.1.12 // indirect
4451
github.com/klauspost/compress v1.16.5 // indirect
@@ -84,20 +91,16 @@ require (
8491
go.opentelemetry.io/otel/sdk v1.15.1 // indirect
8592
go.opentelemetry.io/otel/trace v1.15.1 // indirect
8693
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
87-
golang.org/x/crypto v0.9.0 // indirect
94+
golang.org/x/crypto v0.27.0 // indirect
8895
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
89-
golang.org/x/net v0.10.0 // indirect
90-
golang.org/x/sys v0.8.0 // indirect
91-
golang.org/x/term v0.8.0 // indirect
92-
golang.org/x/text v0.9.0 // indirect
96+
golang.org/x/net v0.24.0 // indirect
97+
golang.org/x/sys v0.25.0 // indirect
98+
golang.org/x/term v0.24.0 // indirect
99+
golang.org/x/text v0.18.0 // indirect
93100
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
94101
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
95102
google.golang.org/grpc v1.55.0 // indirect
96103
google.golang.org/protobuf v1.30.0 // indirect
97104
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
98-
gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect
99-
gopkg.in/jcmturner/dnsutils.v1 v1.0.1 // indirect
100-
gopkg.in/jcmturner/gokrb5.v6 v6.1.1 // indirect
101-
gopkg.in/jcmturner/rpc.v1 v1.1.0 // indirect
102105
gopkg.in/yaml.v3 v3.0.1 // indirect
103106
)

0 commit comments

Comments
 (0)