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.8M
Total
Downloads
174k
Monthly
Downloads
10k
Daily
Downloads
1.4k
Github
Stars
52
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