mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
* Add recipe for pasaia-udala/auth-bundle 1.2 (euskeraz) * Remove empty security.yaml to fix validation error * Add security.yaml with complete authentication configuration * Add Symfony Flex recipe and remove deprecated old recipe - Added complete .recipe/ structure for automatic installation - Includes security.yaml with LDAP and Certificate authenticators - Removed old unused recipe * Fix YAML indentation to 4 spaces as required by recipes-contrib * Add default value for LDAP_ENCRYPTION env var to fix validation * Remove parameters section and hardcode encryption default value * Trigger CI: bundle now requires PHP >= 8.1 (v1.2.1) * Remove security.yaml to avoid overriding user's security configuration * Translate post-install.txt to english and add security.yaml example
24 lines
638 B
YAML
24 lines
638 B
YAML
pasaiako_udala_auth:
|
|
server:
|
|
host: '%env(LDAP_HOST)%'
|
|
port: '%env(int:LDAP_PORT)%'
|
|
encryption: 'none'
|
|
base_dn: '%env(LDAP_BASE_DN)%'
|
|
user_dn_pattern: '%env(LDAP_USER_DN_PATTERN)%'
|
|
bind_dn: '%env(default::LDAP_BIND_DN)%'
|
|
bind_password: '%env(default::LDAP_BIND_PASSWORD)%'
|
|
|
|
role_mapping:
|
|
# Mapea tus grupos LDAP a roles de Symfony
|
|
# Ejemplo:
|
|
# informatika: ROLE_ADMIN
|
|
# langilea: ROLE_USER
|
|
|
|
default_role: ROLE_USER
|
|
|
|
group_search:
|
|
enabled: true
|
|
base_dn: null
|
|
filter: '(member={user_dn})'
|
|
recursive: true
|