feat(security): Ajoute l'authentification Keycloak SSO et migre les commandes

Supprime la commande AccountCommand, la migration et ajoute l'authentification
Keycloak SSO. Crée les vues de base pour le tableau de bord.
```
This commit is contained in:
Serreau Jovann
2026-01-15 18:04:01 +01:00
parent 662bb0bcc6
commit 3b0ce1314f
38 changed files with 1485 additions and 604 deletions

View File

@@ -0,0 +1,13 @@
knpu_oauth2_client:
clients:
# This key 'keycloak' is what you'll use in your code
keycloak:
type: keycloak
# All these should be stored in your .env file
auth_server_url: '%env(KEYCLOAK_AUTH_SERVER_URL)%'
realm: '%env(KEYCLOAK_REALM)%'
client_id: '%env(KEYCLOAK_CLIENT_ID)%'
client_secret: '%env(KEYCLOAK_CLIENT_SECRET)%'
# The route name where Keycloak will redirect the user back to
redirect_route: connect_keycloak_check
redirect_params: {}