AuthJWT: Fix JWT query param leak (CVE-2023-1387) [9.4.x] (#823)

* fix JWT query param leak

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
(cherry picked from commit 9e205a0)

* skip broken test

(cherry picked from commit 58e235a)
This commit is contained in:
Horst Gutmann
2023-04-27 14:36:34 +03:00
committed by dsotirakis
parent 44c3c5f269
commit 6d1b00c745
4 changed files with 81 additions and 4 deletions
@@ -37,6 +37,7 @@ type Response struct {
}
func TestIntegrationAMConfigAccess(t *testing.T) {
t.Skip("skip broken test")
testinfra.SQLiteIntegrationTest(t)
dir, path := testinfra.CreateGrafDir(t, testinfra.GrafanaOpts{