diff --git a/glide.yaml b/glide.yaml index 62e8f77fa..7be0ccf6f 100644 --- a/glide.yaml +++ b/glide.yaml @@ -2,6 +2,7 @@ package: github.com/ory-am/fosite import: - package: github.com/asaskevich/govalidator - package: github.com/dgrijalva/jwt-go + version: ~2.7.0 - package: github.com/go-errors/errors - package: github.com/golang/mock subpackages: diff --git a/token/jwt/jwt.go b/token/jwt/jwt.go index f99a93301..a2bad0cf2 100644 --- a/token/jwt/jwt.go +++ b/token/jwt/jwt.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/pkg/errors" - "gopkg.in/dgrijalva/jwt-go.v2" + "github.com/dgrijalva/jwt-go" ) // Enigma is responsible for generating and validating challenges.