Skip to content

Commit

Permalink
Remove direct dgrijalva/jwt-go dependency (#105)
Browse files Browse the repository at this point in the history
* remove direct dgrijalva/jwt-go depencendy
  • Loading branch information
odacremolbap committed Oct 6, 2021
1 parent ecd3491 commit 3e99c0e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions LICENSES/vendor/github.com/golang-jwt/jwt/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion go.mod
Expand Up @@ -45,8 +45,8 @@ require (
github.com/aws/aws-sdk-go v1.37.1
github.com/clbanning/mxj v1.8.4
github.com/devigned/tab v0.1.1
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/elastic/go-elasticsearch/v7 v7.6.0
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/google/cel-go v0.7.2
github.com/hashicorp/go-uuid v1.0.1
github.com/jarcoal/httpmock v1.0.8
Expand Down Expand Up @@ -96,6 +96,7 @@ require (
github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.4.1 // indirect
github.com/confluentinc/confluent-kafka-go v1.4.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
github.com/emicklei/go-restful v2.15.0+incompatible // indirect
github.com/evanphx/json-patch v4.9.0+incompatible // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Expand Up @@ -619,6 +619,8 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP
github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
Expand Down
2 changes: 1 addition & 1 deletion pkg/sources/adapter/salesforcesource/auth/jwt.go
Expand Up @@ -27,7 +27,7 @@ import (
"strings"
"time"

jwt "github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/targets/adapter/salesforcetarget/auth/jwt.go
Expand Up @@ -27,7 +27,7 @@ import (
"strings"
"time"

jwt "github.com/dgrijalva/jwt-go"
"github.com/golang-jwt/jwt"
"go.uber.org/zap"
)

Expand Down

0 comments on commit 3e99c0e

Please sign in to comment.