Skip to content

Identity layer, part 5: directory sync, reverse-proxy sign-in and extras (Phase 4) #462

Open

Description

@caseysoftware

Intent: provisioning for on-premises directories, plus the remaining integration options.

Steps

  • Scheduled LDAP/AD sync from the cron hook: create and update through w2p_Provisioning_Service, disable users missing or disabled in the directory (userAccountControl bit 2), group → role sync with nested groups (LDAP_MATCHING_RULE_IN_CHAIN); LDAPS/StartTLS only; stop copying directory passwords into the local hash. Choose symfony/ldap or directorytree/ldaprecord.
  • Trusted-header provider (REMOTE_USER or a configured header) accepted only from trusted_proxies (HTTPS behind a reverse proxy isn't detected (X-Forwarded-Proto ignored) #444), for mod_auth_openidc, mod_shib, oauth2-proxy and Authelia.
  • OIDC back-channel logout.
  • Optional TOTP for local break-glass accounts (spomky-labs/otphp).
  • Access-review export: users, roles, source, status and last login.

Goal: a user removed from AD is disabled within one cron cycle, and reverse-proxy sign-in works behind Apache with mod_auth_openidc.

Depends on #458. Spec: Identity Layer proposal (#435).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions