Skip to content
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

chore: use community maintained golang-jwt #21930

Conversation

jdstrand
Copy link
Contributor

Closes #21926

The dgrijalva/jwt-go project is no longer maintained[1] and they have
transferred ownership to golang-jwt/jwt[2][3][4]. We should move to the
supported golang-jwt/jwt.

The following was performed:

  1. update services/httpd/handler*.go to import golang-jwt/jwt 2. revert testcase string comparison changes from 225bcec (back to v3)
  2. go mod edit -require github.com/golang-jwt/jwt@v3.2.1+incompatible
  3. go mod edit -droprequire github.com/dgrijalva/jwt-go
  4. go mod tidy
  5. go clean ./... && go build ./...
  6. go test ./...

References:
[1] dgrijalva/jwt-go#462
[2] dgrijalva/jwt-go#463
[3] https://github.com/dgrijalva/jwt-go/blob/master/README.md
[4] https://github.com/golang-jwt/jwt
[5] #21926

The dgrijalva/jwt-go project is no longer maintained[1] and they have
transferred ownership to golang-jwt/jwt[2][3][4]. We should move to the
supported golang-jwt/jwt.

The following was performed:

1. update services/httpd/handler*.go to import golang-jwt/jwt
2. revert testcase string comparison changes from 225bcec (back to v3)
2. go mod edit -require github.com/golang-jwt/jwt@v3.2.1+incompatible
3. go mod edit -droprequire github.com/dgrijalva/jwt-go
4. go mod tidy
5. go clean ./... && go build ./...
6. go test ./...

References:
[1] dgrijalva/jwt-go#462
[2] dgrijalva/jwt-go#463
[3] https://github.com/dgrijalva/jwt-go/blob/master/README.md
[4] https://github.com/golang-jwt/jwt
[5] influxdata#21926
@jdstrand jdstrand force-pushed the jdstrand/update-jwt-go-master1.x branch from 31ae174 to 5fcf514 Compare July 22, 2021 22:36
@jdstrand jdstrand closed this Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant