NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #595 most downloaded on Packagist
This bundle provides JWT authentication for your Symfony REST API
Latest stable
v3.2.0
Last release 11 months ago
20 Dec 2025
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
93 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Fixed typo in UPGRADE-3.0.md by @TimoBakx in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1271
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v3.1.1...v3.2.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Update 10-web-token.rst by @cosminsandu in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1235
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v3.1.0...v3.1.1
feature: fix deprecation of Extension by @Chris53897 in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1226
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v3.0.0...v3.1.0
CI: Fix deprecations from ApiPlatform 3.2 & PHPUnit 10 by @chalasr in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1221
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.21.0...v3.0.0
⚠️ This is the LAST 2.X FEATURE RELEASE ⚠️ The branch 2.x is now bugfix-only.
⚠️ This is the LAST 2.X FEATURE RELEASE ⚠️ The branch 2.x is now bugfix-only.
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.20.3...v2.21.0
Fix for PHP <7.4 compatibility by @fracsi in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1183
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.20.2...v2.20.3
Fix for PHP <7.4 compatibility by @fracsi in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1174
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.20.1...v2.20.2
Removed constructor property promotion to fix compatibility with PHP 7.x by @webhdx in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1172
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.20.0...v2.20.1
Support Symfony 7 by @endroid in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1165
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.19.1...v2.20.0
Fix missing array claims BC break in 2.9.0 by @ostrolucky in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1144
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.19.0...v2.19.1
Remove deprecation symfony 6.3 by @maxhelias in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1120
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.18.1...v2.19.0
Fix compatibility with lcobucci/jwt v3.4 by @maxhelias in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1115
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.18.0...v2.18.1
Replaced deprecated ValidAt() with LooseValidAt() by @carcabot in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1109
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.17.0...v2.18.0
Fix deprecation message by @mbabker in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1043
remove_token_from_body_when_cookies_used by @usu in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1092Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.16.0...v2.17.0
remove_token_from_body_when_cookies_used (usu)Fix deprecations on Symfony 6.1 by @chalasr in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1001
allow_no_expiration option to allow validating tokens without ttl by @pluk77 in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1020Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.15.1...v2.16.0
allow_no_expiration option to allow validating tokens without ttl (pluk77)## 2.15.1 (2022-04-06)
Unify audience claim by @aerrasti in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/999
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.15.0...v2.15.1
Fix AuthenticationFailureListener example by @Seb33300 in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/977
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.14.4...v2.15.0
Typo-Fix in the ChainUserProvider by @KhorneHoly in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/972
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.14.3...v2.14.4
Fix PHP 8.1 deprecation - avoid passing null to is_file() by @chalasr in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/969
remove_token_from_body_when_cookies_used config option by @TjorvenB in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/940Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.14.2...v2.14.3
remove_token_from_body_when_cookies_used config option (TjorvenB)Allow symfony/deprecations-contract v3.0 by @bravik in https://github.com/lexik/LexikJWTAuthenticationBundle/pull/961
Full Changelog: https://github.com/lexik/LexikJWTAuthenticationBundle/compare/v2.14.1...v2.14.2
7c4c887 bug #942 Fix Symfony 5.3 compatibility (@chalasr)
7c4c887 bug #942 Fix Symfony 5.3 compatibility (@chalasr)
90bf498 feature #923 Add 3 new getter method to JWTTokenAuthenticator (@fd6130) 7b79a11 bug #931 Fix: Only attempt split_cookie extraction if all of t
90bf498 feature #923 Add 3 new getter method to JWTTokenAuthenticator (@fd6130) 7b79a11 bug #931 Fix: Only attempt split_cookie extraction if all of the cookies are present (@carlobeltrame) 9e32ce2 feature #925 Allow to set provider in jwt authenticator. (@fd6130) c6ba7c7 feature #937 Symfony 6 Compatibility (@mbabker) 3f30e12 bug #922 Fix error when trying to decode token using new authenticator system (@fd6130)
591673a feature #916 Allow to use custom authenticator by extending JWTAuthenticator (@fd6130) 9847bbd bug #914 Bundle breaks application if Symfony C
591673a feature #916 Allow to use custom authenticator by extending JWTAuthenticator (@fd6130)
9847bbd bug #914 Bundle breaks application if Symfony Console not installed (@yivi)
cced83e feature #903 Implement AuthenticatorInterface::createToken() (Symfony 5.4) (@chalasr)
adfcb5b bug #905 Changed JWTAuthenticator::start method return type to more generic Response type (@aurimasniekis)
0161668 feature #912 Added argument to AuthenticationSuccessHandler to stop token from being removed from response (@naitsirch)
JWTAuthenticator::start method return type to more generic Response type (aurimasniekis)AuthenticatorInterface::createToken() (Symfony 5.4) (chalasr)66ec1e0 Fix missing import (chalasr)
66ec1e0 Fix missing import (chalasr)
9f27601 Fix unexpected deprecation about Guard (bis) (@chalasr)
9f27601 Fix unexpected deprecation about Guard (bis) (@chalasr)
4ae8ee3 bug #895 Fix unexpected deprecation about Guard (@chalasr)
4ae8ee3 bug #895 Fix unexpected deprecation about Guard (@chalasr)
79ce8cb bug #887 JWTAuthenticator logic fix (@ergnuor)
79ce8cb bug #887 JWTAuthenticator logic fix (@ergnuor)
5ecd54b bug #886 Fix remaining deprecations on Symfony 5.3 (@chalasr)
5ecd54b bug #886 Fix remaining deprecations on Symfony 5.3 (@chalasr)
8d13c01 bug #884 Fix BC layer around JWTTokenManagerInterface (@chalasr)
8d13c01 bug #884 Fix BC layer around JWTTokenManagerInterface (@chalasr)
…0d36113 bug #878 Handle misc. Symfony 5.3 deprecations, update CI config (@mbabker) e79152c bug #864 Remove development files from releases (@phansys)
319364d feature #872 Add new jwt authenticator for Symfony 5.3+ Security system (@TristanPouliquen, @chalasr)
0d36113 bug #878 Handle misc. Symfony 5.3 deprecations, update CI config (@mbabker)
e79152c bug #864 Remove development files from releases (@phansys)
CVE 2021-21424 - a175d6dab9 - Prevent user enumeration (@chalasr)
CVE 2021-21424 - a175d6dab9 - Prevent user enumeration (@chalasr)
1cdcc65 - bug #840 [Security] On Authentication failure, replace MessageData (mpiot) bb1e6c3 - bug #838 Fix wiring GenerateKeyPairCommand when key pat
1cdcc65 - bug #840 [Security] On Authentication failure, replace MessageData (mpiot) bb1e6c3 - bug #838 Fix wiring GenerateKeyPairCommand when key paths are null (chalasr)
a675978 - bug #835 Fixes #834: Re-add namshi/jose as required dependency until v3 (filisko)
a675978 - bug #835 Fixes #834: Re-add namshi/jose as required dependency until v3 (filisko)
02a8f68 - feature #817 Feat: add keypair generation command (@bpolaszek) 060c58a - bug #833 KeyLoaderInterface::getPassphrase() might return null and
02a8f68 - feature #817 Feat: add keypair generation command (@bpolaszek) 060c58a - bug #833 KeyLoaderInterface::getPassphrase() might return null and we need a string. (@drupol) 966f9b0 - feature #832 Make AbstractKeyLoader::getSigningKey() and AbstractKeyLoader::getPublicKey public. (@drupol) 6b6824d - feature #816 Remove support for lcobucci/jwt <3.4 & symfony/* <4.4 (@chalasr)
CVE 2021-21424 - a175d6dab9 - Prevent user enumeration (@chalasr)
CVE 2021-21424 - a175d6dab9 - Prevent user enumeration (@chalasr)
a759036 - bug #827 Use named constructor for lcobucci/jwt Ecdsa signers (chalasr) c765af7 - bug #826 Fix creating tokens when iat is already set in th
a759036 - bug #827 Use named constructor for lcobucci/jwt Ecdsa signers (chalasr) c765af7 - bug #826 Fix creating tokens when iat is already set in the payload (chalasr)
9c29534 - bug #815 Fix compatibility for lcobucci/jwt v3.x (bis) (@chalasr)
9c29534 - bug #815 Fix compatibility for lcobucci/jwt v3.x (bis) (@chalasr)
44b3053 - bug #813 Fix undefined variable (@chalasr)
44b3053 - bug #813 Fix undefined variable (@chalasr)
fe81b99 - bug #804 Fix ability to set extra standard claims in the input payload (bis) (chalasr) 9b921ed - bug #807 Fix compatibility with locbucci/jw
fe81b99 - bug #804 Fix ability to set extra standard claims in the input payload (bis) (chalasr) 9b921ed - bug #807 Fix compatibility with locbucci/jwt 3.2 (chalasr)
556253d - bug #796 Set Token on ExpiredTokenException (AdrienBr) e92a283 - bug #801 Fix ability to set extra standard claims in the input payload (cha
556253d - bug #796 Set Token on ExpiredTokenException (AdrienBr) e92a283 - bug #801 Fix ability to set extra standard claims in the input payload (chalasr)
4d22398 - bug #797 Fix support for lcobucci/jwt v3.4 and 4.0 (@chalasr)
4d22398 - bug #797 Fix support for lcobucci/jwt v3.4 and 4.0 (@chalasr)
14d3168 - feature #792 PHP 8 Support (@chalasr) 3974427 - feature #790 Fix Symfony 5.2 getProviderKey deprecation (@ogizanagi)
14d3168 - feature #792 PHP 8 Support (@chalasr) 3974427 - feature #790 Fix Symfony 5.2 getProviderKey deprecation (@ogizanagi)
…php (@flaugere) 3e541e8 - bug #780 Add deprecation message argument to JWTFactory.php (@chrBrd) e434f3b - feature #786 Allow token creation from an ex…
f844c31 - feature #769 Added support for composed cookies (@lukacovicadam) 57105a5 - bug #787 fix day saving transition php (@flaugere) 3e541e8 - bug #780 Add deprecation message argument to JWTFactory.php (@chrBrd) e434f3b - feature #786 Allow token creation from an existing payload (@RicoLannez) 468ec17 - feature #677 chore/implement-against-key-loader-interface (@TiMESPLiNTER) a76d8ee - feature #767 Added the possibility to choose if the cookie is "secure" or not (@Mael-91)
…php 5.5 compat, Test against symfony 5.1 and fix deprecations (@acrobat) 8f539d9 - bug #683 add ChainUserProvider (@Gemorroj)
68f01ec - feature #761 Expose payload in encode/decode exceptions (@chalasr) 3074c41 - bug #755 Drop php 5.5 compat, Test against symfony 5.1 and fix deprecations (@acrobat) 8f539d9 - bug #683 add ChainUserProvider (@Gemorroj)
886315f - feature #753 Add set_cookies option to store JWT in secure cookies (@chalasr) 1c3c43f - feature #737 Enable to keep the modified payload aft
886315f - feature #753 Add set_cookies option to store JWT in secure cookies (@chalasr)
1c3c43f - feature #737 Enable to keep the modified payload after decode (@cedriclombardot)
set_cookies option to store JWT in secure cookies (chalasr)2311f63 - bug #689 Symfony 4.4/5.0 compatibility (Deuchnord) 44c6e5d - bug #687 Authentication Exception Message from its key (arslan) 8697dc2 - bug #
2311f63 - bug #689 Symfony 4.4/5.0 compatibility (Deuchnord) 44c6e5d - bug #687 Authentication Exception Message from its key (arslan) 8697dc2 - bug #675 Use late static binding on JWTUser (kaznovac)
b694e7a - bug #669 Fix dispatch signature on SF > 4.3 (@Webonaute) 14262e8 - bug #650 Fixed AuthenticaionFailureHandler to utilize messages from custo
b694e7a - bug #669 Fix dispatch signature on SF > 4.3 (@Webonaute) 14262e8 - bug #650 Fixed AuthenticaionFailureHandler to utilize messages from custom exceptions (@EresDev)
be2b78c - bug #644 Fix FC/BC layer for EventDispatcher (@nicolas-grekas)
be2b78c - bug #644 Fix FC/BC layer for EventDispatcher (@nicolas-grekas)
204c2b7 - bug #637 Fix deprecations on symfony/event-dispatcher:4.3 (@chalasr) 0d7062f - bug #618 Use the JWTTokenManagerInterface (@trsteel88) bb38cf…
204c2b7 - bug #637 Fix deprecations on symfony/event-dispatcher:4.3 (@chalasr) 0d7062f - bug #618 Use the JWTTokenManagerInterface (@trsteel88) bb38cf0 - bug #620 fix missing $config variable (@Oliboy50) 17fa070 - bug #593 Make JWTManager::$userIdClaim nullable (@chalasr)
0969247 - bug #577 Fix argument order in JWTProvider service declaration (@fjogeleit)
0969247 - bug #577 Fix argument order in JWTProvider service declaration (@fjogeleit)
f338da8 - bug #574 fix clockSkew not taken into account in some case (@mu4ddi3) 63ae9f3 - bug #554 Fix deprecations on Symfony 4.2 (@chalasr) 5103fff…
f338da8 - bug #574 fix clockSkew not taken into account in some case (@mu4ddi3) 63ae9f3 - bug #554 Fix deprecations on Symfony 4.2 (@chalasr) 5103fff - feature #537 Customizable User ID Claim (@Spomky) 4dfe7fd - feature #503 Allow setting the "exp" claim from event listeners (@MaximeMaillet)
bc50055 - bug #542 Fix missing implements breaking JWT header alteration (tucksaun)
bc50055 - bug #542 Fix missing implements breaking JWT header alteration (tucksaun)
15e7021 - bug #525 Make openssl key loader service deprecated (Faecie)
15e7021 - bug #525 Make openssl key loader service deprecated (Faecie)
6650b79 - bug #522 Fix clock skew + deprecation message (chalasr)
6650b79 - bug #522 Fix clock skew + deprecation message (chalasr)
acf4d53 - bug #515 Re-add namshi/jose as an hard requirement until 3.0 (chalasr)
acf4d53 - bug #515 Re-add namshi/jose as an hard requirement until 3.0 (chalasr)
a3d590e - feature #508 Replace namshi/jose by lcobucci/jwt (chalasr) e7b5cf2 - feature #485 Add a lexikgenerate-token command (sroze) 154c60e - featur
a3d590e - feature #508 Replace namshi/jose by lcobucci/jwt (chalasr)
e7b5cf2 - feature #485 Add a lexik:jwt:generate-token command (sroze)
154c60e - feature #369 Fix HMAC support (chalasr)
46ec165 - feature #492 [Feature] clock skew (patrickjDE)
49f1ba4 - feature #433 Added setPayload to JWTDecodedEvent analogous to JWTCreatedEvent. (vgeyer)
4e519bd - feature #412 Make the token type case insensitive (greg0ire)
ddfd184 - feature #404 CheckConfigCommand should not be container aware (chalasr)
75d60cf - feature #352 JWT header alteration (Spomky)
5fa8dd4 - #344 Add an extension point on the PayloadAwareUserProviderInterface (sroze)
lexik:jwt:generate-token command (sroze)6551868 - bug #466 Public jwt manager (chalasr) 751f220 - bug #465 Make authentication Success/Failure handlers autowirable (chalasr)
6551868 - bug #466 Public jwt manager (chalasr) 751f220 - bug #465 Make authentication Success/Failure handlers autowirable (chalasr)
…- bug #399 Fix sf3.4 command autoregistration deprecation (ogizanagi)
0a7a5e7 - bug #408 Response classes shouldn't have the @internal PhpDoc tag (lashae) 2ebeee9 - bug #403 Switch to PSR-4 namespaces for PHPUnit (chalasr) e1af39a - bug #399 Fix sf3.4 command autoregistration deprecation (ogizanagi)
c651aa6 - bug #398 Fix Symfony 4 compatibility b2da6b3 - bug #383 Don't register lcobucci encoder if lcobucci/jwt is not installed
c651aa6 - bug #398 Fix Symfony 4 compatibility b2da6b3 - bug #383 Don't register lcobucci encoder if lcobucci/jwt is not installed
2c9a3df - Dont use DefinitionDecorator on symfony 3.3+
2c9a3df - Dont use DefinitionDecorator on symfony 3.3+
One column per quarter.