Penv Cloud
Start free
Docs
Referencesince cloud@2026-09-10

Directory sync

Point an identity provider at penv over SCIM so it provisions and deprovisions members, and what a closed seat does to billing.

Path: Settings > Single Sign-On > Directory sync (/settings/sso/directory). SCIM, on Enterprise, or on Pro with the directory sync add-on. Protocol: RFC 7644.

Fields

FieldContent
Base URLThe address your identity provider posts to
TokensBearer tokens your provider presents, shown once at mint time. Replace a lost token; we never recover it
StateRunning or paused, and the last request time. Pausing stops us acting on requests but keeps the connection

Provisioning

RuleEffect
AddressMust be on a domain this workspace has verified. Any other address is refused with a 400 and creates nothing
New personWe create their account without marking the address verified. They prove it the first time they sign in: with a code, a provider, or your single sign-on
Existing accountGains a membership in your workspace, on a verified domain only. We never read their account name back to your provider
SeatsIf your workspace has no seat left, we refuse with a 403 and write nothing. A person your provider sends inactive takes no seat

Deprovisioning

EventEffect
Provider sets a person inactiveWe mark the membership, not delete it; the row still answers a SCIM read
AccessEnds on the person's next request
SessionsWe revoke live sessions pointing at this workspace
GrantsWe drop every grant in this workspace, at any scope
AccountUntouched (shared across workspaces)
SeatStops counting toward your seats (plan limits)
Provider reactivates the personWe restore the membership, if a seat is free
Provider names a role this workspace lacksWe skip it, never guess

Required permissions

Slugs: roles and permissions. Pausing and revoking never need the plan, so a lapse cannot strand your token. Step-up rules: Security and two-factor.

ActionNeedsStep-upEnterprise or add-on
Read the pagesso:readNoNo
Set up directory syncsso:manageTwo-factor and freshYes
Mint a tokensso:manageTwo-factor and freshYes
Revoke a tokensso:manageYesNo
Resume syncsso:manageTwo-factor and freshYes
Pause syncsso:manageTwo-factor and freshNo

Audit entries

EntryMeaning
member.provisionedYour directory created a member
member.updatedYour directory changed a member
member.deprovisionedYour directory closed a seat
member.reprovisionedYour directory reopened a seat
org.scim_role_skippedYour directory named a role this workspace lacks

Next: security and MFA.