Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Use github.com/lestrrat-go/jwx/jwt for JWT#6641

Merged
mattjackson220 merged 9 commits intoapache:masterfrom
zrhoffman:no-github.com/dgrijalva/jwt-go
Mar 23, 2022
Merged

Use github.com/lestrrat-go/jwx/jwt for JWT#6641
mattjackson220 merged 9 commits intoapache:masterfrom
zrhoffman:no-github.com/dgrijalva/jwt-go

Conversation

@zrhoffman
Copy link
Member

As a follow-up PR to #6434, this PR refactors the JWT parts of #6524 and #6577 to use github.com/lestrrat-go/jwx/jwt and removes the now-unused github.com/dgrijalva/jwt-go dependency.


Which Traffic Control components are affected by this PR?

  • Traffic Ops
  • Experimental components (webfront, traffic_ops_auth)

What is the best way to verify this PR?

PR submission checklist

@zrhoffman zrhoffman added Traffic Ops related to Traffic Ops tech debt rework due to choosing easy/limited solution experimental a feature/component not directly supported by ATC dependencies Pull requests that update a dependency file labels Mar 11, 2022
Copy link
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'd feel most comfortable merging this if @mattjackson220 gave it his stamp of approval

@zrhoffman zrhoffman requested a review from ocket8888 March 15, 2022 19:57
@zrhoffman zrhoffman force-pushed the no-github.com/dgrijalva/jwt-go branch from 4d2feb7 to a012d6f Compare March 15, 2022 20:00
@zrhoffman
Copy link
Member Author

Rebased due to a conflict with go.mod changes in #6656

@ocket8888
Copy link
Contributor

I re-ran the t3c tests and they failed again. You may need to look into those.

@zrhoffman zrhoffman force-pushed the no-github.com/dgrijalva/jwt-go branch from ef0abcd to 7f69760 Compare March 17, 2022 16:16
* updated token parsing with new library

* fixed per comment
@zrhoffman zrhoffman force-pushed the no-github.com/dgrijalva/jwt-go branch from d150457 to 588a913 Compare March 23, 2022 16:49
@zrhoffman
Copy link
Member Author

Rebased onto master to get #6679

Copy link
Contributor

@mattjackson220 mattjackson220 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! tested locally and works as expected! one test is failing but not due to this PR so this is all good!

@mattjackson220 mattjackson220 merged commit a4c3288 into apache:master Mar 23, 2022
@zrhoffman zrhoffman deleted the no-github.com/dgrijalva/jwt-go branch June 24, 2022 18:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file experimental a feature/component not directly supported by ATC tech debt rework due to choosing easy/limited solution Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants