```
✨ 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:
13
config/packages/knpu_oauth2_client.yaml
Normal file
13
config/packages/knpu_oauth2_client.yaml
Normal 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: {}
|
||||
Reference in New Issue
Block a user