Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: go-chi/jwtauth

v5.4.0

Choose a tag to compare

@VojtechVitek VojtechVitek released this 26 Feb 09:51
21df586

What's Changed

New Contributors

Full Changelog: v5.3.3...v5.4.0

v5.3.3

Choose a tag to compare

@VojtechVitek VojtechVitek released this 27 Mar 11:53
81e4c11

What's Changed

New Contributors

Full Changelog: v5.2.0...v5.3.3

v5.1.0

Choose a tag to compare

@pkieltyka pkieltyka released this 13 Nov 16:35
c5c2c95
  • Upgrading to latest version of underlining jwt library github.com/lestrrat-go/jwx/v2 via #73
  • Set minimum Go version of this library to Go 1.18, as that is the jwx/v2 minimum

v5.0.1

Choose a tag to compare

@pkieltyka pkieltyka released this 30 Mar 18:21

Update jwx library in go.mod

v5.0.0

Choose a tag to compare

@pkieltyka pkieltyka released this 28 Feb 00:24
  • SIV, yeay

v1.2.0

Choose a tag to compare

@pkieltyka pkieltyka released this 31 Jan 21:39
52c0aa2
  • Upgrade jwx dependency to its latest, v1.1.0

v1.1.1

Choose a tag to compare

@pkieltyka pkieltyka released this 12 Dec 19:57

Update Verifier for locating jwt token; removing TokenFromQuery from defaults

v1.1.0 - new jwt dependency

Choose a tag to compare

@pkieltyka pkieltyka released this 12 Dec 14:45
b8af768

This release has a few breaking changes to the API as we're switching from the underlying jwt library github.com/dgrijalva/jwt-go to github.com/lestrrat-go/jwx. See #50 for further details + discussion.

Migration guide is pretty straight forward:

  1. Use jwt.Token instead of *jwt.Token
  2. Use tokenString from (*JWTAuth).Encode() instead of jwt.Raw
  3. Use map[string]interface{} instead of jwt.MapClaims{}
  4. Use jwtauth.New() instead of jwtauth.NewWithParser()

Please see _example and jwtauth_test.go for more details. As well to view more docs on the new jwt lib see https://github.com/lestrrat-go/jwx and https://github.com/lestrrat-go/jwx/blob/master/jwt/README.md


NOTE: https://github.com/golang-cz/jwtauth is a fork of this repository without the above breaking changes. It uses github.com/golang-jwt/jwt, a successor to github.com/dgrijalva/jwt-go pkg, instead of the new github.com/lestrrat-go/jwx dependency.

v1.0.0 with go.mod support

Choose a tag to compare

@pkieltyka pkieltyka released this 07 Dec 03:35

jwtauth now ships with go.mod support with version v1.0.0

See https://github.com/go-chi/chi/blob/master/CHANGELOG.md#v150-2020-11-12---now-with-gomod-support for more information on the version reset.

Bugfix release; fixing regression in v3.2.0

Choose a tag to compare

@VojtechVitek VojtechVitek released this 28 Feb 16:38
53a0a48
Merge pull request #26 from slax0rr/master

Truly support jwtauth.Claims when parsing from context