-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
update github.com/golang-jwt/jwt to github.com/golang-jwt/jwt/v4 #2441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is because core has deprecated JWT middleware with that dependency. Go module logic does not use/download that version if you are not using it. |
I'm indirectly using both, when I use the new |
no, you are not using it - unless you invoke code that uses it. It is there because This has to do with https://go.dev/ref/mod#graph-pruning
|
I am no expert how |
thanks for the clarification |
will close on tuesday. Maybe someone will add a comment. |
As the title already states, update the dependency.
I find it pretty weird.
When using
github.com/labstack/echo-jwt
you get thegit.cakeli.workers.dev/golang-jwt/jwt/v4
dependency (https://github.com/labstack/echo-jwt/blob/main/go.mod)which in turn imports
github.com/labstack/echo/middleware
importing thegit.cakeli.workers.dev/golang-jwt/jwt v3.x.x+incompatible
.You are basically getting both major versions as dependencies which is kind of dirty :).
The text was updated successfully, but these errors were encountered: