lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

Official Recipe

Install

composer req jwt-auth 
or
composer require lexik/jwt-authentication-bundle 
3.5M
Total
Downloads
166k
Monthly
Downloads
6.3k
Daily
Downloads
1.3k
Github
Stars
57
Open
Issues

Aliases

jwt-auth

Bundles

  • Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle in all

Copy From Recipe

Environment Variables

  • JWT_SECRET_KEY = %kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem
  • JWT_PUBLIC_KEY = %kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem
  • JWT_PASSPHRASE = %generate(secret)%

.gitignore Additions

/%CONFIG_DIR%/jwt/*.pem

Versions