Download the PHP package mathsalmi/keycloak-guard-bundle without Composer
On this page you can find all versions of the php package mathsalmi/keycloak-guard-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mathsalmi/keycloak-guard-bundle
More information about mathsalmi/keycloak-guard-bundle
Files in mathsalmi/keycloak-guard-bundle
Package keycloak-guard-bundle
Short Description Symfony 3.4 guard authentication via keycloak JWT
License MIT
Informations about the package keycloak-guard-bundle
Keycloak Symfony Guard Bundle
This package is a fork of acsystems/keycloak-guard-bundle and supports Symfony 3.4.
Original README
The goal of this bundle is to provide a Keycloak token authenticator guard for Symfony.
Documentation
Quick start
Installation
Install the package from packagist using composer
Add the bundle.
config/bundles.php
Set up Symfony Security to use the custom authenticator.
config/packages/security.yaml
Add your keycloak base url and realm
config/packages/keycloak_client.yaml:
Configurable parameters
Name | Type | Usage |
---|---|---|
base_uri | string | URL to your keycloak instance |
realm | optional string | Realm name, will be derived if not present |
client_id | optional string | Human readable client_id, will be derived if not present |
Upgrading
For version migrations instructions see upgrade instructions.
Supported platforms
These are the platforms which are officially supported by this package. Any other versions might work but is not guaranteed.
Platform | Version |
---|---|
PHP | 7.1 / 7.2 / 7.3 |
Contributing
Please read our contribution guidelines before contributing.
All versions of keycloak-guard-bundle with dependencies
ext-json Version *
symfony/security-bundle Version 3.4.*
symfony/yaml Version 3.4.*
fproject/php-jwt Version ^4.0
symfony/config Version 3.4.*