Skip to content

Releases: JimTools/jwt-auth

3.0.0

20 Dec 14:34
266a023

Choose a tag to compare

What's Changed

  • chore(deps): bump setuptools from 75.3.0 to 78.1.1 in /docs by @dependabot[bot] in #24
  • Upgrading firebase/php-jwt by @JimTools in #23

Breaking Changes

  • Key lengths are now validated by firebase/php-jwt if a key length is less than the specified algorithm, an exception will be thrown.

Full Changelog: 2.3.1...3.0.0

2.3.1

30 Nov 15:22
433da55

Choose a tag to compare

What's Changed

Full Changelog: 2.3.0...2.3.1

2.3.0

29 Oct 20:24
2e89098

Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.3.0

2.2.0

15 Dec 12:03

Choose a tag to compare

What's Changed

New Contributors

  • @Kiina made their first contribution in #12

Full Changelog: 2.1.0...2.2.0

1.1.0

15 Dec 11:02
aa6b80d

Choose a tag to compare

What's Changed

  • fix PHP 8.4 deprecation error (implicitly nullable parameter) by @mbolli in #10

Full Changelog: 1.0.2...1.1.0

2.1.0

07 Nov 21:28
0b4c974

Choose a tag to compare

  • Adding support for PHP 8.4
  • Update pip dependencies for creating docs

Full Changelog: 2.0.0...2.1.0

2.0.0

27 Sep 20:28
9121a45

Choose a tag to compare

This is a major release with a total rework, improving type safety, decoupling concerns and using modern language features. Please see UPGRADING.md for full details, please note Rector can be used to automate the majority of the upgrade process.

Full Changelog: 1.0.1...2.0.0

1.0.2

14 Sep 22:13
d11ebf4

Choose a tag to compare

What's Changed

  • Adding a command for removal of tuupola/slim-jwt-auth by @N-M in #5
  • config array description should allow logger key by @mbolli in #6

New Contributors

  • @N-M made their first contribution in #5
  • @mbolli made their first contribution in #6

Full Changelog: 1.0.1...1.0.2

v1.0.1

24 Mar 11:31
45b9fa4

Choose a tag to compare

Marking this package as a replacement for tuupola/slim-jwt-auth

Initial Fork

19 Feb 15:36

Choose a tag to compare

Forked from tuupola/slim-jwt-auth resolves security* issue but also has breaking changes

Upgrade

  1. Switch over the package by using the following commands, for now the
    namespace is exactly the same.
composer remove tuupola/slim-jwt-auth
composer require jimtools/jwt-auth
  1. Update the JwtAuthentication config to have keys for the secret and
    algorithm to have a unique index.

Before

$app->add(new Tuupola\Middleware\JwtAuthentication([
    "secret" => "supersecretkeyyoushouldnotcommittogithub",
    "algorithm" => ["HS256"]
]));

After

$app->add(new Tuupola\Middleware\JwtAuthentication([
    "secret" => ["acme" => "supersecretkeyyoushouldnotcommittogithub"],
    "algorithm" => ["acme" => "HS256"],
]));
  1. (Maybe) If you are using multiple encryption algorithms you will need to add the kid
    to the JWT header.
    firebase JWT Docs