What's next for lifecycle
The lifecycle features on the way, from SCIM provisioning and connectors to workflows and access reviews, and what to use until each one arrives.
Planned
These lifecycle features are planned. None of them is available yet. Each section says what it will do, how you’ll use it, and what to use today.
Reconciliation
Section titled “Reconciliation”What it will do. Compare another system’s users with the directory and bring the two into line: create the users the directory lacks, change the ones that differ, link each to its record in the other system, and remove or set inactive the ones that left. Runs will repeat on a schedule you set, and each run will read only what changed since the last one.
How you’ll use it. You define a mapping once: the system to read, the type its records become, the attribute that
matches a record to a user (such as employeeId), how each attribute maps across, and what to do in each case (a new
record, a changed one, one that disappeared). Then you start a run, or let the schedule start it, and read its progress
and its counts.
What to use today: load users through the API, and run the load again after changes in the other system. A
second load refuses users that already exist, so send the changes as PATCH writes. See
Bring users in.
Connectors
Section titled “Connectors”What it will do. Read users and groups straight from an LDAP directory or an HR system, as the source of truth, with no export in between. A directory’s own change log will be followed, so a change there reaches the realm without waiting for a full run.
How you’ll use it. You name the system and how to reach it, and point a reconciliation mapping at it.
What to use today: export from the other system and load the export; see Bring users in.
SCIM provisioning
Section titled “SCIM provisioning”What it will do. Another system, such as a business customer’s own directory or an HR system, creates, changes, deactivates and removes your users and groups itself, over SCIM 2.0, the standard most directories already speak.
How you’ll use it. You give that system the realm’s SCIM address and a credential for it, and switch provisioning on at its end. From then on, its changes arrive as they happen.
What to use today: have that system, or a script, write users and groups through the API; see Add and change users, Add groups and members and Call the API.
Workflows
Section titled “Workflows”What it will do. Run a joiner’s, a mover’s or a leaver’s steps for you, with approval steps where you want a person to decide. Tasks will run on a user’s own dates: days before their start date, on it, on their last day or after it. A leaver’s workflow, for example, sets the user inactive on their last day and removes them from their groups.
How you’ll use it. You define a workflow once (its trigger, its steps and who approves), and the realm starts an instance for each user it applies to. Approvers see and complete their tasks; you see each instance and can cancel it.
What to use today: make each change yourself, or from a script; see Joiners, movers and leavers. Two date-based tools already run on their own:
- A leave date: set the user’s
accountExpiry, and their sign-in and new tokens stop at that moment. See Turn access off and on. - A start date: create the user inactive, and grant their access as entitlements with
validFromset to their first day. See Entitlements.
One-step leaver
Section titled “One-step leaver”What it will do. Setting a user inactive will also end every session they hold and take back what others shared with them, in the same step.
How you’ll use it. As today: set status to inactive.
What to use today: set the user inactive, then end their sessions and take back shared secrets with one call each, as Offboard a leaver shows.
Lifecycle hooks
Section titled “Lifecycle hooks”What it will do. Run your own logic when a user, a group or an object of your own type is created, changed or deleted, inside the same write, whoever made it: an administrator, a script or a future sync.
How you’ll use it. You declare the hook on the type, with the point it runs at, and the realm runs it on every write there.
What to use today: run that logic in the script that writes the change.
Access reviews
Section titled “Access reviews”What it will do. Owners and managers confirm or remove, on a schedule, who holds which access, agents included, with each decision on the audit trail. A review will recur weekly, monthly, quarterly or yearly, tell its reviewers when it starts, and, when it closes, take away the access a reviewer removed or nobody confirmed.
How you’ll use it. You choose what to review (a group’s members, an entitlement’s holders, a set of agents), who reviews it and how often. Reviewers confirm or remove each item; the realm carries out the removals.
What to use today: list a group’s members, or a user’s groups, and remove what’s no longer needed; see Add groups and members. The Change history of each group records every removal, and who made it.
Invitations
Section titled “Invitations”What it will do. Invite a user by email to join the realm. The account is made when they accept.
How you’ll use it. You send an invitation with the user’s email and, optionally, their groups. They follow the link, accept, and arrive in those groups.
What to use today: create the user yourself, with a first password, and give it to them in a safe way; see Add and change users.
Personal data export
Section titled “Personal data export”What it will do. Give a user, or an administrator for them, everything the realm holds about them, in one file they can take away.
How you’ll use it. One call, made by the user for themselves or by an administrator for a user.
What to use today: read the user’s record with ?expand=memberOf/* and the other links they hold, and their
trail; see Audit trail.