cosmonova-rnd / jwt-guard
Guard JWT Authenticator for Symfony
Installs: 755
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/cosmonova-rnd/jwt-guard
Requires
- cosmonova-rnd/jwt: ^0.8.0
- symfony/framework-bundle: ~3.4|^4
- symfony/security-bundle: ~3.4|^4
This package is not auto-updated.
Last update: 2025-09-28 11:03:34 UTC
README
Installing
- Install package using composer
composer require cosmonova-rnd/jwt-guard
Configuring
-
Configure environment variables
JWT_PUBLIC_KEY
andJWT_PASSPHRASE
with public key and passphrase -
Add to your firewall new authenticator
example:
security: main: anonymous: ~ guard: authenticators: - CosmonovaRnD\JWTGuard\Security\JwtAuthenticator
Usage
Use symfony UserInterface to get authenticated user
@ Cosmonova | Research & Development