{"repo":"mainick/KeycloakClientBundle","free":true,"listed":false,"github":"https://github.com/mainick/KeycloakClientBundle","clone":"git clone https://github.com/mainick/KeycloakClientBundle.git","description":"The KeycloakClientBundle is bundle for Symfony, designed to simplify Keycloak integration into your application in Symfony and provide additional functionality for token management and user information access. It also includes a listener to verify the token on every request.","language":"PHP","stars":45,"topics":["bundle","keycloak-client","oauth2","oauth2-client","php","symfony","symfony-bundle"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"KeycloakClientBundle ==================== The KeycloakClientBundle bundle is a wrapper for the stevenmaguire/oauth2-keycloak package, designed to simplify Keycloak integration into your application in Symfony and provide additional functionality for token management and user information access. It also includes a listener to verify the token on every request. Configuration Before installing this package, you need to configure it manually. You can do this by creating a mainick keycloak client.yaml file in the config/packages directory of your project and adding the following configuration: Additionally, it's recommended to add the following environment variables to your project's environment file (e.g., .env or .env.local ) with the appropriate values for your configuration: Make sure to replace the placeholder values with your actual configuration values. Once you have configured the package and environment variables, you can proceed with the installation. Installation You can install this package using Composer: Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project: By configuring the package before installation, you ensure that it will be ready to use once installed. Usage Get the Keycloak client You can get the Keycloak client by injecting the Mainick\\KeycloakClientBundle\\Interface\\IamClientInterface interface in your controller or service. To use it, you need to add the following configuration to your config/","default_branch":null,"files":null,"tree":[],"storefront":"/r/mainick","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mainick/KeycloakClientBundle/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}