You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the README instructions, the current process requires manual configuration by creating a configuration file for the KeycloakClientBundle and adding environment variables before installing the package. This can be streamlined using the symfony recipes allow the automation of Composer packages configuration via the Symfony Flex Composer plugin.
Hence, I propose the following enhancements:
Automated Configuration File:
Symfony Flex can be leveraged to generate the mainick_keycloak_client.yaml configuration file in the config/packages directory. This file should contain the following default configuration structure:
Symfony Flex can also add placeholders for the required environment variables in your project's environment file (e.g., .env or .env.local). The placeholders should look like this:
###> mainick/keycloak-client-bundle ###
IAM_VERIFY_SSL=true # Verify SSL certificate
IAM_BASE_URL='<your-base-server-url>'# Keycloak server URL
IAM_REALM='<your-realm>'# Keycloak realm name
IAM_CLIENT_ID='<your-client-id>'# Keycloak client id
IAM_CLIENT_SECRET='<your-client-secret>'# Keycloak client secret
IAM_REDIRECT_URI='<your-redirect-uri>'# Keycloak redirect uri
IAM_ENCRYPTION_ALGORITHM='<your-algorithm>'# RS256, HS256, etc.
IAM_ENCRYPTION_KEY='<your-public-key>'# public key
IAM_ENCRYPTION_KEY_PATH='<your-public-key-path>'# public key path
IAM_VERSION='<your-version-keycloak>'# Keycloak version###< mainick/keycloak-client-bundle ###
With these enhancements, the package's configuration and environment variable setup can be automated, simplifying the installation process.
The text was updated successfully, but these errors were encountered:
As per the README instructions, the current process requires manual configuration by creating a configuration file for the KeycloakClientBundle and adding environment variables before installing the package. This can be streamlined using the symfony recipes allow the automation of Composer packages configuration via the Symfony Flex Composer plugin.
Hence, I propose the following enhancements:
Automated Configuration File:
Symfony Flex can be leveraged to generate the
mainick_keycloak_client.yaml
configuration file in theconfig/packages
directory. This file should contain the following default configuration structure:Automated Environment Variable Setup:
Symfony Flex can also add placeholders for the required environment variables in your project's environment file (e.g.,
.env
or.env.local
). The placeholders should look like this:With these enhancements, the package's configuration and environment variable setup can be automated, simplifying the installation process.
The text was updated successfully, but these errors were encountered: