open-nomad/lib/auth
Michael Schurter 3b3b02b741
dep: update from jwt/v4 to jwt/v5 (#17062)
Their release notes are here: https://github.com/golang-jwt/jwt/releases

Seemed wise to upgrade before we do even more with JWTs. For example
this upgrade *would* have mattered if we already implemented common JWT
claims such as expiration. Since we didn't rely on any claim
verification this upgrade is a noop...

...except for 1 test that called `Claims.Valid()`! Removing that
assertion *seems* scary, but it didn't actually do anything because we
didn't implement any of the standard claims it validated:

https://github.com/golang-jwt/jwt/blob/v4.5.0/map_claims.go#L120-L151

So functionally this major upgrade is a noop.
2023-05-03 11:17:38 -07:00
..
jwt dep: update from jwt/v4 to jwt/v5 (#17062) 2023-05-03 11:17:38 -07:00
oidc [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
binder.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
binder_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
claims.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
claims_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
identity.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
identity_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00