Download the PHP package php-istio/jwt-authentication-bundle without Composer
On this page you can find all versions of the php package php-istio/jwt-authentication-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-istio/jwt-authentication-bundle
More information about php-istio/jwt-authentication-bundle
Files in php-istio/jwt-authentication-bundle
Package jwt-authentication-bundle
Short Description Symfony bundle to help authenticate JWT payload from Istio Envoy proxy.
License MIT
Informations about the package jwt-authentication-bundle
JWT Authentication Bundle
About
The Symfony bundle provides JWT authentication for request forwarded by Istio sidecar.
To use this bundle, make sure your K8S application pod had injected Istio sidecar and configured RequestAuthentication CRD, if not your application IS NOT SECURE.
The main difference between the awesome Lexik JWT Authentication bundle and this bundle is it's NOT validate JWT token because Istio sidecar had validated before forward request to your application, so that your application don't need to hold public key and double validate JWT token.
Requirements
PHP versions:
- PHP 8.0
Symfony versions:
- Symfony 5.3
Installation
Configuration
Enable the authenticator manager setting:
Then, configure your config/packages/security.yaml
:
In case your application have multi issuers:
Usage
Further readings
- Get JWT payload of authenticated user
- Use stateless user provider
- Create custom user provider
Credits
All versions of jwt-authentication-bundle with dependencies
php-istio/jwt-payload-extractor Version ^v1.1.1
symfony/psr7-pack Version ^1.0
symfony/security-bundle Version ^6.0