feat(etl): Add ETL authentication and navigation

Add Keycloak authentication for ETL users.
Configure ETL routes and login/logout functionality.
Integrate ETL with Keycloak SSO.
Update vite.config.js to include etl.js.
Create EtlController with home, login, and logout routes.
Implement EtlAuthenticator for email/password login.
Configure security.yaml for ETL firewall and providers.
Add etl.js and etl.scss for ETL frontend.
Add Keycloak client configuration for ETL.
Update PrestaireController to use absolute URL for login.
This commit is contained in:
Serreau Jovann
2026-02-06 11:43:31 +01:00
parent 919bf7038a
commit 42e33a5908
15 changed files with 538 additions and 37 deletions

View File

@@ -17,6 +17,9 @@ security:
entity:
class: App\Entity\Prestaire
property: email
etl_chain_provider:
chain:
providers: [etl_account_provider, app_account_provider]
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
@@ -25,7 +28,7 @@ security:
etl:
pattern: ^/(etl)
lazy: true
provider: etl_account_provider # Force l'entité Account (Admin) ici
provider: etl_chain_provider # Force l'entité Account (Admin) ici
user_checker: App\Security\UserChecker
entry_point: App\Security\EtlAuthenticator
form_login:
@@ -36,6 +39,7 @@ security:
custom_authenticator:
- App\Security\EtlAuthenticator
- App\Security\EtlKeycloakAuthenticator
logout:
path: elt_logout