summaryrefslogtreecommitdiff
path: root/pkg/web/json_web_key_sets_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/web/json_web_key_sets_test.go')
-rw-r--r--pkg/web/json_web_key_sets_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/web/json_web_key_sets_test.go b/pkg/web/json_web_key_sets_test.go
index b059481..3425b2c 100644
--- a/pkg/web/json_web_key_sets_test.go
+++ b/pkg/web/json_web_key_sets_test.go
@@ -22,7 +22,12 @@ func TestJsonWebKeySets(t *testing.T) {
Bytes: x509.MarshalPKCS1PrivateKey(key),
})
- h := NewHttpContext("https://example.org", b.Bytes())
+ cfg := &Configuration{
+ Issuer: "https://example.org",
+ KeyData: b.Bytes(),
+ }
+ // h := NewHttpContext("https://example.org", b.Bytes())
+ h := NewHttpContext(cfg)
t.Run(".well-known/jwks.json", func(t *testing.T) {
w := httptest.NewRecorder()