NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #610 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.
e1a0f37 - #330 Allow empty ttl for testing purpose 73fccd0 - #328 Fix autowiring for upcoming Symfony 3.3
e1a0f37 - #330 Allow empty ttl for testing purpose 73fccd0 - #328 Fix autowiring for upcoming Symfony 3.3
6055e90 - #317 Use symfony/phpunit-bridge for testing (@chalasr) 4b6f328 - #320 Allow for Response Body without JWT Token (@Batch1211) 5b09887 - #325
6055e90 - #317 Use symfony/phpunit-bridge for testing (@chalasr)
4b6f328 - #320 Allow for Response Body without JWT Token (@Batch1211)
5b09887 - #325 Move ttl is_numeric check from build time to runtime to allow use of %env() (@DrBenton)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fb1c441 - #312 Ease sharing keys between parties (@chalasr) 664a90c - #311 Handle empty or null authorization header prefix (@chteuchteu) 02d3866 - #3
fb1c441 - #312 Ease sharing keys between parties (@chalasr) 664a90c - #311 Handle empty or null authorization header prefix (@chteuchteu) 02d3866 - #303 Throw less missleading exception if SSL keys could not be loaded (@phansys)
b0f6002 - #302 Return user object from User Provider refresh
b0f6002 - #302 Return user object from User Provider refresh
b398d64 - #278 Add JWTUserProvider for loading users from the JWT itself (@chalasr)
465c72a - #285 Avoid validating key paths before container compilation (@chalasr) 319502f - #283 Ease creating tokens programatically (@chalasr) 4449d
465c72a - #285 Avoid validating key paths before container compilation (@chalasr)
319502f - #283 Ease creating tokens programatically (@chalasr)
4449d68 - #282 Catch exception from lcobucci parser on invalid but correctly formatted token (@chalasr)
2cde8be - #280 Travis: build on sf 3.2 + highest/lowest deps, fix build on hhvm (@chalasr)
c674a1e - #276 Added getProviderKey() to JWTUserToken (@eXtreme)
b133e67 - #269 Improve the structure of the documentation (@chalasr)
getProviderKey() to JWTUserToken (eXtreme)601d274 #262 Add composer test script
fd06833 Set autowiring types on services with many alternatives
This major release fixes some inconsistencies, avoids some deprecated practices and adds a bunch of new features.
This major release fixes some inconsistencies, avoids some deprecated practices and adds a bunch of new features.
feature #249 Avoid setting exp claim from JWTManager (chalasr)
feature #246 Add a simple built-in encoder based on lcobucci/jwt (chalasr)
feature #184 [Security] Deprecate current system in favor of a JWTTokenAuthenticator (Guard) (chalasr)
feature #218 Add more flexibility in token extractors configuration (chalasr)
feature #217 Refactor TokenExtractors loading for easy overriding (chalasr)
feature #196 Make *_key_path config options not mandatory (chalasr)
feature #162 [Encoder] Handle OpenSSL/phpseclib engines and algorithms (chalasr)
#175 Stop ensuring support for PHP versions smaller than 5.0 (chalasr)
#167 and #169 Stop ensuring support Symfony versions smaller than 2.8 (chalasr)
Nothing published for this version
…keeping BC almost intact while triggering deprecation notices from constructors and getters, before we totally remove the practice in the v2.0 major r…
Since Symfony 2.4, the current Request is accessible from the RequestStack. Before that, we passed the current Request instance across our Events, allowing to return custom responses depending on the Request.
Now, developers just have to inject the request_stack service in their listeners and retrieve the current request as needed.
This release only depreciate the practice to inject and retrieve the request by adding a default null value to all arguments type-hinted as Request, keeping BC almost intact while triggering deprecation notices from constructors and getters, before we totally remove the practice in the v2.0 major release.
This release contains some patches fixing different deprecations from third party dependencies. Plus it contains a nice addition: The JWTNotFoundEvent…
This release contains some patches fixing different deprecations from third party dependencies. Plus it contains a nice addition: The JWTNotFoundEvent, making users able to listen on this specific event and customize the response in case of no jwt found in a request.
Fix anonymous access by removing the AuthenticationCredentialsNotFoundException #159
Fix anonymous access by removing the AuthenticationCredentialsNotFoundException #159
added JWT_INVALID and updated AUTHENTICATION_FAILURE events to allow modification of failure responses #157
always call for master request from request stack #133
Nothing published for this version
fixed legacy request service injection for complete symfony 3.0+ compatibility #126
symfony ~2.3 and ~3.0 compatible release #113
bug \#101 Fatal error on console cache:clear (ngandemer)
Updated documentation #90 #95 Added authentication_listener configuration option #100 #99
Updated documentation #90 #95 Added authentication_listener configuration option #100 #99
Added cookie token extractor #76 Added PHP 7 on Travis #80 Added WWW-Authenticate response header on 401 #88
Added cookie token extractor #76 Added PHP 7 on Travis #80 Added WWW-Authenticate response header on 401 #88
Fixed authentication event propagation #92
Added new JWT_ENCODED event when token has been encoded #73 Added new JWT_AUTHENTICATED event when token is authenticated #69
Added new JWT_ENCODED event when token has been encoded #73 Added new JWT_AUTHENTICATED event when token is authenticated #69
Fixed previous tagged release #71
Fixed previous tagged release #71
Fixed deprecated calls in Symfony 2.6+
Added raw JWT string into the Symfony Authentication Token
Added raw JWT string into the Symfony Authentication Token (#63)
Security update. As the namshi/jose dependency is bumped to a new major version, you might have to add the --with-dependencies flag to the composer up
Security update. As the namshi/jose dependency is bumped to a new major version, you might have to add the --with-dependencies flag to the composer update command.
composer update lexik/jwt-authentication-bundle --with-dependencies.
- Updated documentation - Updated dependencies
Improve response and dispatch event in AuthenticationFailureHandler
Added documentation and examples
- Added JWT_DECODED event - Updated documentation
Split out the code that creates the JWT from the authentication success handler allowing to add data to the payload e.g. IP address
Split out the code that creates the JWT from the authentication success handler allowing to add data to the payload e.g. IP address (#15)
Updated namshi/jose library dependency to 1.1. Added PHP 5.6 and HHVM to travis build config. Updated doc.
Updated namshi/jose library dependency to 1.1. Added PHP 5.6 and HHVM to travis build config. Updated doc.
First stable release, SF2.3+ compatible.
First stable release, SF2.3+ compatible.
One column per quarter.