Developed with love by KnpLabs Hire us for your project!
1829

LexikJWTAuthenticationBundle

by lexik

JWT authentication for your Symfony REST API

LexikJWTAuthenticationBundle

Build Status
StyleCI
Scrutinizer Code Quality
SensioLabsInsight
Latest Stable Version

This bundle provides JWT (Json Web Token) authentication for your Symfony API.

It is compatible and tested with PHP 5.6, 7.2, 7.3, on Symfony 3.4 and 4.2.

Documentation

The bulk of the documentation is stored in the Resources/doc directory of this bundle:

Community Support

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.

Contributing

See the CONTRIBUTING file.

Upgrading from 1.x

Please see the UPGRADE file.

Credits

License

This bundle is under the MIT license.

For the whole copyright, see the LICENSE file distributed with this source code.

Copyright (C) 2014-2016 Lexik <dev@lexik.fr>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
  • Update CHANGELOG for v2.8.0
    By chalasr, 7 months ago
  • feature #761 Expose payload in encode/decode exceptions (chalasr)
    By chalasr, 7 months ago
  • Expose payload in encode/decode exceptions
    By chalasr, 7 months ago
  • minor #763 Updated configuration reference (RalpinMcDjango)
    By chalasr, 7 months ago
  • Automatic cookies in configuration reference
    By web-flow, 7 months ago
  • bug #755 Test against symfony 5.1 and fix deprecations (acrobat)
    By chalasr, 7 months ago
  • Test against symfony 5.1 and fix deprecations
    By chalasr, 7 months ago
  • minor #690 Update 2-data-customiztion.md (patrickmaynard)
    By chalasr, 7 months ago
  • bug #683 add ChainUserProvider (Gemorroj)
    By chalasr, 7 months ago
  • Update CHANGELOG for v2.7.0
    By chalasr, 7 months ago
  • feature #753 Add `set_cookies` option to store JWT in secure cookies (chalasr)
    By chalasr, 7 months ago
  • Add `set_cookies` option to store JWT in secure cookies
    By chalasr, 7 months ago
  • minor #750 Revert space typo in CHANGELOG (guilliamxavier)
    By chalasr, 8 months ago
  • Revert space typo in CHANGELOG
    By web-flow, 8 months ago
  • feature #737 Enable to keep the modified payload after decode (cedriclombardot)
    By chalasr, 9 months ago
  • minor #738 Add missing deprecation notice on firewall's lexik_jwt config key (chalasr)
    By chalasr, 9 months ago
  • Add missing deprecation notice on firewall's lexik_jwt config key
    By chalasr, 9 months ago
  • Enable to keep the modified payload after decode
    By Cedric LOMBARDOT, 9 months ago
  • Add sponsor link
    By chalasr, 9 months ago
  • minor #722 Correct name and class for JWTNotFoundListener (lionelkimbs)
    By chalasr, 10 months ago
  • Correct name and class for JWTNotFoundListener
    By web-flow, 10 months ago
  • Update CHANGELOG for v2.6.5
    By chalasr, 1 year ago
  • bug #689 Symfony 4.4/5.0 compatibility (Deuchnord)
    By chalasr, 1 year ago
  • Symfony 4.4/5.0 compatibility
    By chalasr, 1 year ago
  • Update 2-data-customiztion.md
    By web-flow, 1 year ago
  • bug #687 Authentication Exception Message from its key, Explicit Travis build env, and .idea to gitignore (EresDev)
    By chalasr, 1 year ago
  • Added explicit build environment for travis. Because Travis has changed its default build enviorment to Xenial and it does not compile php 5.5. Making dist: trusty
    By , 1 year ago
  • Getting exception message via getMessageKey method to meet Symfony convention, to help with translation, and to prevent possible leak of sensitive information.
    By EresDev, 1 year ago
  • Adding .idea to .gitignore to prevent accidental commit/push of IDE files.
    By EresDev, 1 year ago
  • add ChainUserProvider
    By Gemorroj, 1 year ago