serveur_oauth2_proxy : passerelle SSO OIDC générique + Icinga Web 2 au SSO
oauth2-proxy (v7.15.3) place Keycloak devant toute app sans OIDC natif (auth external, utilisateur via en-tête). Rôle paramétrable, réutilisable. Éprouvé devant icingaweb2 (backend=external, X-Forwarded-Preferred-Username). Prouvé : testmail → oauth2-proxy → Keycloak → icingaweb2 /dashboard, connecté. Ferme le gap LDAP-direct d'icingaweb2. Réglages appris : insecure_oidc_allow_unverified_email (IdP interne) ; reverse-proxy passe X-Forwarded-* pas X-Auth-Request-* ; handler nginx en restart (pas reload) — un changement d'adresse d'écoute n'est pas pris par un reload gracieux. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
2ed919e914
commit
b60c5dc963
13 changed files with 212 additions and 6 deletions
|
|
@ -45,6 +45,14 @@ serveur_icingaweb2_ldap_user_attr: "uid"
|
|||
# Qui reçoit le rôle Administrateur (liste d'uid séparés par des virgules).
|
||||
serveur_icingaweb2_admins: "testmail"
|
||||
|
||||
# Backend d'authentification : "ldap" (direct) ou "external" (utilisateur fourni par une
|
||||
# passerelle SSO devant, ex. oauth2-proxy → Keycloak). En "external", nginx doit poser REMOTE_USER.
|
||||
serveur_icingaweb2_auth: "ldap"
|
||||
# Variable nginx d'où vient REMOTE_USER. En SSO : l'en-tête d'oauth2-proxy.
|
||||
serveur_icingaweb2_remote_user: "$remote_user"
|
||||
# Préfixe d'écoute nginx local ("" = toutes interfaces ; "127.0.0.1:" = local, derrière la passerelle).
|
||||
serveur_icingaweb2_nginx_bind: ""
|
||||
|
||||
# Modules icingaweb2 à activer.
|
||||
serveur_icingaweb2_modules:
|
||||
- icingadb
|
||||
|
|
|
|||
Loading…
Reference in a new issue