]> git.koha-community.org Git - koha.git/commit
Bug 29543: Add JWT token handling
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Jan 2022 11:20:28 +0000 (12:20 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 25 Jan 2022 20:59:54 +0000 (20:59 +0000)
commit4008d7261a472fb6d0e484c1d2309ae0e7e2c8ff
tree2f154286e4ba8e5c38ecf8e835a238e63e49882a
parentb105b603d52ff63dc6862c730b96ac3738a0cb6f
Bug 29543: Add JWT token handling

Mojo::JWT is installed already, it's not a new dependency.
We need a way to send the patron a token when it's correctly logged in,
and not assumed it's logged in only if patronid is passed

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d978bf1506d761a6962d949f35b71f1740d0052a)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
(cherry picked from commit e7c1ed3ede83eef70135f96261169af57399962b)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/Token.pm
t/Token.t