This bundle provides JWT (Json Web Token) authentication for your Symfony API.
It is compatible (and tested) with PHP > 8.2 and Symfony > 6.4.
The bulk of the documentation is stored in the Resources/doc
directory of this bundle:
Getting started
Prerequisites
Installation
Configuration
Usage
Notes
Further documentation
Configuration reference
Data customization and validation
Functional testing
Working with CORS requests
JWT encoder service customization
Extending Authenticator
Creating JWT tokens programmatically
A database-less user provider
Accessing the authenticated JWT token
Invalidate token on logout
Please consider opening a question on StackOverflow using the lexikjwtauthbundle
tag, it is the official support platform for this bundle.
Github Issues are dedicated to bug reports and feature requests.
See the CONTRIBUTING file.
Huge thanks to Blackfire and JetBrains for providing this project with free open-source licenses.
If you or your company use this package, please consider sponsoring its maintenance and development.
Please see the UPGRADE file.
Robin Chalas
Lexik [email protected]
All contributors
This bundle is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.