From b7e896c40598f5307b3b5a163b6ad02ae97ec1a5 Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Wed, 22 Jan 2025 10:43:06 -0500 Subject: [PATCH] Switch to maintained gopkg.in/go-jose/go-jose.v2 library --- jwks.go | 2 +- jwks_test.go | 2 +- oidc.go | 2 +- verify.go | 2 +- verify_test.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jwks.go b/jwks.go index e6a82c84..e262f7bd 100644 --- a/jwks.go +++ b/jwks.go @@ -10,7 +10,7 @@ import ( "time" "github.com/pquerna/cachecontrol" - jose "gopkg.in/square/go-jose.v2" + jose "gopkg.in/go-jose/go-jose.v2" ) // keysExpiryDelta is the allowed clock skew between a client and the OpenID Connect diff --git a/jwks_test.go b/jwks_test.go index 6226117a..ad19b9b5 100644 --- a/jwks_test.go +++ b/jwks_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - jose "gopkg.in/square/go-jose.v2" + jose "gopkg.in/go-jose/go-jose.v2" ) type keyServer struct { diff --git a/oidc.go b/oidc.go index a1d36c5b..bf35ee9e 100644 --- a/oidc.go +++ b/oidc.go @@ -18,7 +18,7 @@ import ( "time" "golang.org/x/oauth2" - jose "gopkg.in/square/go-jose.v2" + jose "gopkg.in/go-jose/go-jose.v2" ) const ( diff --git a/verify.go b/verify.go index 5c4d6582..3e7999c9 100644 --- a/verify.go +++ b/verify.go @@ -13,7 +13,7 @@ import ( "time" "golang.org/x/oauth2" - jose "gopkg.in/square/go-jose.v2" + jose "gopkg.in/go-jose/go-jose.v2" ) const ( diff --git a/verify_test.go b/verify_test.go index d2fffa9c..de100986 100644 --- a/verify_test.go +++ b/verify_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - jose "gopkg.in/square/go-jose.v2" + jose "gopkg.in/go-jose/go-jose.v2" ) type testVerifier struct {