Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Releases: maxgalbu/adonis5-jwt

v1.1.7

09 Aug 15:37
Compare
Choose a tag to compare
  • fix (types): import must be inside module declaration, otherwise typescript won't interpret types correctly 429f185
  • feat (guard): add possibility to get access token from cookie (closes #8) 548ea89

v1.1.6...v1.1.7

v1.1.6

14 Jun 14:54
Compare
Choose a tag to compare
  • fix (provider): missing RefreshTokenRedisProvider initialization 6c3211d

v1.1.5...v1.1.6

v1.1.5

19 May 07:57
Compare
Choose a tag to compare
  • fix (npm): restore node16 as default 71b76d8
  • fix (npm): update np to 7.6.1 and use node14 as default b5952e1
  • fix (instructions): don't rely on the presence of editorconfig (fixes #10) ba7ed76

v1.1.4...v1.1.5

v1.1.4

12 Jan 20:17
Compare
Choose a tag to compare

bug fix when saving token to jwt_tokens database table 2bcfefe (#5)

v1.1.3...v1.1.4

v1.1.3

21 Dec 13:10
Compare
Choose a tag to compare
  • fix (refresh token): missing await 3b5dc5e

v1.1.2...v1.1.3

v1.1.2

10 Nov 16:32
Compare
Choose a tag to compare
  • fix (check auth): don't rethrow if JWT is expired ac4ecba

v1.1.1...v1.1.2

v1.1.1

09 Nov 13:59
Compare
Choose a tag to compare
  • feat (guard): add public function to obtain user from refresh token f3d4125

v1.1.0...v1.1.1

v1.1.0

09 Nov 13:02
Compare
Choose a tag to compare
  • feat (readme): added some examples on refresh token usage 9f41865
  • fix (readme): table c4f9635
  • feat (all): lots of changes:
    • refresh token can be used to login again, without JWT
    • allow user to choose whether to store JWT in db or not
    • added refresh token expiration date - added default expiration for JWT and refresh token (better safe than sorry)
    • added redis JWT provider (it was missing completely) 825566a

v1.0.9...v1.1.0

v1.0.9

28 Oct 16:24
Compare
Choose a tag to compare
  • fix (logout): reset payload after logout 3b99414
  • fix (authenticate): update readme to document access to payload a2049c5
  • feat (authenticate): allow access to payload from guard 823cf95
  • fix (authenticate): multiple fixes to improve security and code style
    • remove custom check of JWT
    • check if the JWT is valid using the private key BEFORE hitting the database
    • make functions pure, store changed state after everything has been checked
    • added payload type in JWTLoginOptions 967c517
  • fix (guard): check() uses wrong exception type 8ecb493

v1.0.8...v1.0.9

v1.0.8

21 Oct 14:39
Compare
Choose a tag to compare
  • fix (package): move ts-morph to dependencies + include templates in /build folder 3f43a40
  • fix (readme): wrong npm link 1a05d28

v1.0.7...v1.0.8