I am trying to upgrade one of our golang app from v1.16 to v1.18 while also upgrading the github.com/99designs/gqlgen from v0.11.3 to v0.17.41.
I am getting following error with the upgrade.
cannot use validationKeyGetter (variable of type func(token *"github.com/dgrijalva/jwt-go".Token) (interface{}, error)) as "github.com/form3tech-oss/jwt-go".Keyfunc value in struct literal
Checklist
Description
I am trying to upgrade one of our golang app from v1.16 to v1.18 while also upgrading the github.com/99designs/gqlgen from v0.11.3 to v0.17.41. I am getting following error with the upgrade. cannot use validationKeyGetter (variable of type func(token *"github.com/dgrijalva/jwt-go".Token) (interface{}, error)) as "github.com/form3tech-oss/jwt-go".Keyfunc value in struct literal
versions- github.com/auth0/go-jwt-middleware v1.0.1 github.com/dgrijalva/jwt-go v3.2.0+incompatible github.com/form3tech-oss/jwt-go v3.2.5+incompatible
Highly appreciate any help in this regard.
Reproduction
Upgrading golang version from 1.16 to 1.18
Go JWT Middleware version
1.0.1
Go version
1.18