Skip to content

Commit

Permalink
Switch to maintained gopkg.in/go-jose/go-jose.v2 library
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt authored and ericchiang committed Jan 22, 2025
1 parent a571417 commit b7e896c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jwks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion jwks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b7e896c

Please sign in to comment.