Skip to content

Identity layer, part 3: SCIM 2.0 provisioning (Phase 2) #460

Open

Description

@caseysoftware

Intent: let Entra ID, Okta and other IdPs create, update and disable users and groups in web2project.

Steps

  • scim.php/v2/… (w2p_Scim_*): ServiceProviderConfig, Schemas, ResourceTypes; Users (filter on userName, externalId, emails.value; pagination; POST, PUT, PATCH including Entra's quirks; DELETE disables, What does a SCIM DELETE do: deactivate only, or also scrub personal data? #449); Groups (filter on displayName, member PATCH, DELETE).
  • Bearer tokens stored hashed (scim_tokens), shown once, revocable, rate limited; admin screen for tokens and the base URL to paste into the IdP.
  • Attribute mapping to user and contact fields; companies and departments per Should companies and departments be set from IdP attributes? #450.
  • Deactivation: user_status = disabled, epoch bump, DB sessions deleted, feeds stopped, history entry; roles and work kept. "Disabled users with open tasks" report.
  • Docs for passing the Authorization header through Apache (CGIPassAuth On) and nginx.

Goal: the Microsoft SCIM Validator and Okta's SCIM tests pass, and Entra and Okta apps can provision, update, disable and re-enable a user and sync a group to a role.

Depends on #459. Order relative to SAML: #451. 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