-
-
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. |
Uh oh!
There was an error while loading. Please reload this page.
As the title already states, update the dependency.
I find it pretty weird.
When using
github.com/labstack/echo-jwt
you get theproxy-git.cwkhome.fun/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 theproxy-git.cwkhome.fun/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: