lexik/jwt-authentication-bundle
This bundle provides JWT authentication for your Symfony REST API
v3.2.0
65M downloads/mo
#621 most downloaded on Packagist
lexik/LexikJWTAuthenticationBundle
What this package is like to depend on
Last release 8 months ago
20 Dec 2025
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 86 of 93 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
93 releases · first in 2014
1 release in the last 12 months
see the full history below
Release timeline
93 releases · May 2014 to Dec 2025Releases
latest 60 of 93-
v3.2.020 Dec 2025Release notes
Open source →What's Changed
- Fixed typo in UPGRADE-3.0.md by @TimoBakx in #1271
- Improve JWTUser phpdoc by @VincentLanglet in #1277
- Remove lcobucci/clock dependency by @VincentLanglet in #1278
- Bump actions/checkout from 4 to 5 in the dependencies group by @dependabot[bot] in #1285
- feat: Support Symfony 8.x & web-token suite 4.x by @dt-thomas-durand in #1300
- ci: Add testruns for PHP 8.5 by @Chris53897 in #1303
- Allow to pass extra data when handling success authentication by @VincentLanglet in #1295
New Contributors
- @TimoBakx made their first contribution in #1271
- @VincentLanglet made their first contribution in #1277
- @dt-thomas-durand made their first contribution in #1300
Full Changelog: v3.1.1...v3.2.0
Release notes
Open source →- feature #1295 Allow to pass extra data when handling success authentication (@VincentLanglet)
- feature #1303 Add PHP 8.5 support (@Chris8934)
- feature #1300 Support Symfony 8.x & web-token suite 4.x (@dt-thomas-durand)
- feature #1278 Remove lcobucci/clock dependency (@VincentLanglet)
-
v3.1.106 Jan 2025Release notes
Open source →What's Changed
- Update 10-web-token.rst by @cosminsandu in #1235
- Test with API Platform 4 by @chalasr in #1250
- chore: add testrun for PHP 8.4. Fix implicit nullable parameter by @Chris53897 in #1238
- Fix default values in WebToken services when encryption disabled by @NeuralClone in #1225
- fix issue #1258 JWTCookieProvider does set flags cookie flags when va… by @nuryagdym in #1259
- Fix wrongly silenced signing failure by @BackEndTea in #1267
New Contributors
- @cosminsandu made their first contribution in #1235
- @NeuralClone made their first contribution in #1225
- @nuryagdym made their first contribution in #1259
- @BackEndTea made their first contribution in #1267
Full Changelog: v3.1.0...v3.1.1
Release notes
Open source →- bug #1267 Fix wrongly silenced signing failure (@BackEndTea)
- bug #1259 fix issue #1258 JWTCookieProvider does set flags cookie flags when value is false (@mustapayev)
- bug #1225 Fix default values in WebToken services when encryption disabled (@NeuralClone)
- bug #1238 chore: add testrun for PHP 8.4. Fix implicit nullable parameter (@Chris8934, @chalasr)
-
v3.1.003 Jul 2024Release notes
Open source →What's Changed
- feature: fix deprecation of Extension by @Chris53897 in #1226
New Contributors
- @Chris53897 made their first contribution in #1226
Full Changelog: v3.0.0...v3.1.0
-
v3.0.005 May 2024Release notes
Open source →What's Changed
- Drop PHP <7.1 and Symfony <5.3 support by @wouter-toppy in #1056
- Clean 3.x by @maxhelias in #1108
- [3.x] Remove support for Symfony <6.4 and PHP <8.2 by @chalasr in #1202
- Fix CI on 3.x by @chalasr in #1201
- Fix ci 3x by @Spomky in #1214
- Bump the dependencies group with 2 updates by @dependabot in #1203
- CI: Fix deprecations from ApiPlatform 3.2 & PHPUnit 10 by @chalasr in #1221
New Contributors
- @wouter-toppy made their first contribution in #1056
Full Changelog: v2.21.0...v3.0.0
Release notes
Open source →- feature #1202 Remove support for Symfony <6.4 and PHP <8.2 (@maxhelias)
- feature \5b5400b Remove namshi/jose on 3.x (@maxhelias)
- feature #1056 Drop PHP <7.1 and Symfony <5.3 support (@wouter-toppy)
-
v2.21.027 Apr 2024Release notes
Open source →⚠️ This is the LAST 2.X FEATURE RELEASE ⚠️ The branch 2.x is now bugfix-only.
What's Changed
- [CI] Fixed CI for PHP 7.2 by @mnocon in #1188
- Web-Token Framework simplified by @Spomky in #1207
- feat: Invalidate a JWT token by @ldaspt in #1170
- Invalidate a JWT token - Adding the jti claim by the JWTManager class instead of doing it via a listener by @ldaspt in #1218
New Contributors
Full Changelog: v2.20.3...v2.21.0
-
v2.20.314 Dec 2023Release notes
Open source →What's Changed
- Fix for PHP <7.4 compatibility by @fracsi in #1183
- Wrong type exception for AccessTokenLoader with certain configuration by @athanasius-kircher in #1184
New Contributors
- @athanasius-kircher made their first contribution in #1184
Full Changelog: v2.20.2...v2.20.3
Release notes
Open source →- bug #1184 Wrong type exception for AccessTokenLoader with certain configuration (@athanasius-kircher)
- bug #1183 Fix for PHP <7.4 compatibility (@fracsi)
-
v2.20.205 Dec 2023Release notes
Open source →What's Changed
- Fix for PHP <7.4 compatibility by @fracsi in #1174
- ci: Group GitHub Actions upgrades by @theofidry in #1177
- [GHA] Infra & build updates by @chalasr in #1178
New Contributors
Full Changelog: v2.20.1...v2.20.2
-
v2.20.101 Dec 2023Release notes
Open source → -
v2.20.001 Dec 2023Release notes
Open source →What's Changed
- Support Symfony 7 by @endroid in #1165
- feat: add support for partitioned cookies by @EmilePerron in #1167
- Added: JWT security scheme to openapi by @Ninos in #1159
- WebToken support integration by @Spomky in #1041
New Contributors
- @endroid made their first contribution in #1165
- @EmilePerron made their first contribution in #1167
- @Ninos made their first contribution in #1159
Full Changelog: v2.19.1...v2.20.0
-
v2.19.104 Jul 2023Release notes
Open source →What's Changed
- Fix missing array claims BC break in 2.9.0 by @ostrolucky in #1144
- add description to authentication path by @Altherius in #1149
New Contributors
- @ostrolucky made their first contribution in #1144
- @Altherius made their first contribution in #1149
Full Changelog: v2.19.0...v2.19.1
Release notes
Open source →- bug #1149 add description to authentication path (@Altherius)
- bug #1144 Fix missing array claims BC break in 2.9.0 (@ostrolucky)
-
v2.19.006 May 2023Release notes
Open source →- bug #1119 Fix API Platform integration (@maxhelias)
- bug #1120 Remove deprecation symfony 6.3 (@maxhelias)
- bug #1133 Fixed issue with option user_id_claim (@koftikes)
- bug #1134 Fix ForwardCompatAuthenticatorTrait with OPCache preload (@elavrom)
- feature #1125 Allow lcobucci/jwt v5 (@maxhelias)
-
v2.18.113 Feb 2023 -
v2.18.008 Feb 2023Release notes
Open source →- bug #1109 Replaced deprecated ValidAt() with LooseValidAt() (carcabot)
- feature #1112 Better API Platform and json_login compatibility (alanpoulain)
-
v2.17.003 Feb 2023Release notes
Open source →- bug #1110 Use the Security domain for translated messages (jderusse)
- bug #1105 Fix creation of dynamic property (SpartakusMd)
- feature #1098 Add API Platform compatibility (vincentchalamon)
- bug #1096 Test under Symfony 6.2 / PHP 8.2 (chalasr)
- feature #1092 allow environment variables for
remove_token_from_body_when_cookies_used(usu) - bug #1067 Fixes TypeError in JWTManager (magikid)
- feature #1072 Inject Clock in LcobucciJWSProvider (dbrumann)
- bug #1069 Improve user_identity_field deprecation message (lobodol)
- feature #1046 try to invalidate realpath cache if keypair loading failed (lobodol)
-
v2.16.012 Jun 2022Release notes
Open source →- feature #1037 Deprecate user_identity_field config option (chalasr)
- feature #1020 Add
allow_no_expirationoption to allow validating tokens without ttl (pluk77) - bug #1019 Fix lexik#944: Separate CompatFailureResponse from FailureResponse (GErpeldinger)
- bug #1015 Fix ECDSA algo names in LcobucciJWSProvider (lovenunu)
- feature #1007 Allow for creation of tokens without exp (pluk77)
- bug #1001 Fix deprecations on Symfony 6.1 (chalasr)
## 2.15.1 (2022-04-06)
- bug #999 Unify audience claim (aerrasti)
- feature #995 Add Request object into AuthenticationFailureEvent (dmytro-shulyakov)
-
v2.15.108 Apr 2022Nothing published for this version
-
v2.15.004 Apr 2022 -
v2.14.404 Jan 2022 -
v2.14.315 Dec 2021Release notes
Open source →- feature #940 Add
remove_token_from_body_when_cookies_usedconfig option (TjorvenB) - feature #928 Add support of multiple public keys to verify tokens with a set of keys (alexandre-daubois)
- feature #958 Allowing session cookie (split cookie) (JeremyPasco)
- bug #969 Fix PHP 8.1 deprecation - avoid passing null to is_file() (chalasr)
- bug #966 fix getIterator compatible with php 8.1 (eerison)
- feature #940 Add
-
v2.14.205 Dec 2021Release notes
Open source →- bug #961 Allow symfony/deprecations-contract v3.0 (bravik)
- bug #951 Test instanceof Passport instead of more restrictive SelfValidatingPassport (TristanPouliquen)
-
v2.14.102 Nov 2021 -
v2.14.001 Nov 2021Release notes
Open source →- feature #923 Add 3 new getter method to JWTTokenAuthenticator (fd6130)
- bug #931 Only attempt split_cookie extraction if all of the cookies are present (carlobeltrame)
- feature #925 Allow to set provider in jwt authenticator (fd6130)
- feature #937 Symfony 6 Compatibility (mbabker)
- bug #922 Fix error when trying to decode token using new authenticator system (fd6130)
-
v2.13.015 Sep 2021Release notes
Open source →- feature #916 Allow to use custom authenticator by extending JWTAuthenticator (fd6130)
- bug #914 Bundle breaks application if Symfony Console not installed (yivi)
- feature #912 Added argument to AuthenticationSuccessHandler to stop token from being removed from response (naitsirch)
- bug #905 Changed
JWTAuthenticator::startmethod return type to more genericResponsetype (aurimasniekis) - feature #903 Implement
AuthenticatorInterface::createToken()(Symfony 5.4) (chalasr)
-
v2.12.629 Jul 2021 -
v2.12.528 Jul 2021 -
v2.12.428 Jul 2021 -
v2.12.307 Jul 2021 -
v2.12.203 Jul 2021 -
v2.12.127 Jun 2021 -
v2.12.023 Jun 2021 -
v2.11.312 May 2021 -
v2.11.217 Feb 2021 -
v2.11.110 Feb 2021Release notes
Open source → -
v2.11.009 Feb 2021Release notes
Open source →- bug #833 KeyLoaderInterface::getPassphrase() might return null and we need a string (drupol)
- feature #832 Make AbstractKeyLoader::getSigningKey() and AbstractKeyLoader::getPublicKey public (drupol)
- feature #817 Feat: add keypair generation command (bpolaszek)
- feature #816 Remove support for lcobucci/jwt <3.4 & symfony/* <4.4 (chalasr)
-
v2.10.712 May 2021 -
v2.10.620 Jan 2021 -
v2.10.519 Dec 2020 -
v2.10.418 Dec 2020 -
v2.10.330 Nov 2020 -
v2.10.230 Nov 2020 -
v2.10.128 Nov 2020 -
v2.10.023 Nov 2020 -
v2.9.027 Oct 2020Release notes
Open source →- feature #769 Added support for composed cookies (lukacovicadam)
- bug #787 fix day saving transition php (flaugere)
- bug #780 Add deprecation message argument to JWTFactory.php (chrBrd)
- feature #786 Allow token creation from an existing payload (RicoLannez)
- feature #677 chore/implement-against-key-loader-interface (TiMESPLiNTER)
- feature #767 Added the possibility to choose if the cookie is "secure" or not (Mael-91)
-
v2.8.014 Jun 2020 -
v2.7.028 May 2020Release notes
Open source →- feature #753 Add
set_cookiesoption to store JWT in secure cookies (chalasr) - feature #737 Enable to keep the modified payload after decode (cedriclombardot)
- feature #753 Add
-
v2.6.522 Nov 2019 -
v2.6.429 Jul 2019 -
v2.6.317 Apr 2019 -
v2.6.201 Apr 2019 -
v2.6.118 Nov 2018Release notes
Open source → -
v2.6.001 Nov 2018 -
v2.5.402 Aug 2018Release notes
Open source → -
v2.5.306 Jul 2018 -
v2.5.203 Jul 2018 -
v2.5.130 Jun 2018 -
v2.5.029 Jun 2018Release notes
Open source →- feature #508 Replace namshi/jose by lcobucci/jwt (chalasr)
- feature #485 Add a
lexik:jwt:generate-tokencommand (sroze) - feature #369 Fix HMAC support (chalasr)
- feature #492 Clock skew (patrickjDE)
- feature #433 Added setPayload to JWTDecodedEvent analogous to JWTCreatedEvent. (vgeyer)
- feature #412 Make the token type case insensitive (greg0ire)
- feature #404 CheckConfigCommand should not be container aware (chalasr)
- feature #352 JWT header alteration (Spomky)
- feature #344 Add an extension point on the PayloadAwareUserProviderInterface (sroze)
-
v2.4.406 Mar 2018Nothing published for this version
-
v2.4.310 Nov 2017 -
v2.4.219 Oct 2017 -
v2.4.129 Jun 2017