Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

Customer and workforce identity compared

The same person can hold an account their employer created and an account they created themselves, and the two follow different rules. This lesson follows Sora, who works at Cedar Inc. and orders prints from the photo service: where each account comes from, who decides when it changes, why convenience must never carry authority from one to the other, and how each relationship ends on its own.

Two relationships with the same person

Sora works in Cedar Inc.'s finance team. A week before Sora's first day, Cedar's HR system recorded the hire and Cedar's identity system created the account [email protected], with the staff portal, the finance applications and the shared drives the job needs. Sora never asked for that account. It exists because Cedar decided Sora works there, and it will end when Cedar decides Sora no longer does.

At weekends Sora orders prints from the photo service, and that account began quite differently. One evening Sora opened the photo service, chose Create account, typed [email protected] because it was the address Sora read most often, picked a password, and started uploading pictures from a family holiday. Nobody at the photo service decided that Sora should have an account. Sora did, and Sora can close it.

The two accounts belong to two kinds of identity. Workforce identity covers the people an organization brings in to do its work: employees, and also contractors and others it sponsors. Customer identity covers the people who choose to use an organization's service. Systems built for the second kind are often described as customer identity and access management, or CIAM. Sora holds both, with the same name and the same email address, but the two accounts have different identifiers, different data, different permissions and different lifecycles. Where each one started decides who creates it, which facts about it are authoritative, and what ends it.

Different sources and expectations

Put the two relationships side by side and most of the differences follow from those starting points.

Sora's two relationships
QuestionWorkforce: Sora at CedarCustomer: Sora at the photo service
Why does the account exist?Cedar hired Sora. Employment, or sponsored work for a contractor, is the reason.Sora registered to store photos and buy prints.
Who knows when it should change?Cedar's HR system, which records moves and departures.Mostly Sora, who edits the profile and chooses what to keep.
What access is expected?What the finance job needs, assigned by Cedar.The service's ordinary features over Sora's own albums and orders.
What ends it?The end of Sora's employment, through Cedar's leaver process.Sora closing the account, the service's own policy, or a security response.

The second row is the one people tend to miss. When Sora moves from finance to procurement, Cedar's HR system knows, and Cedar's identity system recalculates Sora's access, as Sources of truth describes. The photo service hears nothing about the move and has no reason to. Its source of truth for the customer profile is Sora: the name, the delivery address and the photo books are whatever Sora entered and chose.

The photo service also has a workforce of its own. Its support agents, engineers and billing staff sign in to the same service its customers use, often through the same sign-in page and into the same directory. In that directory, a support agent's account and Sora's customer account sit a few rows apart.

Illustrative: two accounts in the photo service's directory
AccountHow it beganRolesWhat ends it
staff-0117, a support agentCreated by the photo service's onboarding when the agent was hiredSupport agent: read customer orders, issue refundsThe agent's employment ending
customer-55120, SoraSora registered with a password on 14 March 2025None: ordinary customer features onlySora closing it, or the photo service ending it under its terms or after a security problem

All people, accounts, and identifiers in these examples are fictional.

Sharing a directory does not make them the same kind of account. The agent's access comes from a role the photo service assigned for a job. Sora's comes from being the owner of the albums and orders in that account, and nothing else.

These are common patterns rather than rules every employer and every service follows. A customer may also be an authorized partner, and a contractor holds a sponsored workforce relationship rather than an employment one. What matters is to model the relationship that actually exists instead of trusting a label to say what an account may do.

Keep authority separate from convenience

Sora is signed in to Cedar all day, so it would be convenient to sign in to the photo service with the Cedar account too. Some services do accept workplace sign-ins. If the photo service did, the ID token from Cedar would tell it which Cedar account had signed in. It would not bring Cedar's roles with it. That Sora approves invoices at Cedar means nothing at the photo service, and a claim such as Sora's department is a fact Cedar keeps for Cedar's decisions, not one the photo service should use to decide who may manage what. Connecting that sign-in to the existing customer account would also need proof that Sora controls both sides, as Linking accounts shows. The matching email address is not that proof.

Authority cannot come from what an account says about itself either. A customer can set a display name of "Photo Support" and register with an address like [email protected]. Neither gives the account anything. The photo service's support tools ask whether the account currently holds the support agent role, and the server checks that assignment on every request. A customer account holds no such assignment, whatever its name or address.

The same separation applies when a relationship ends. Suppose that one autumn, two unrelated things happen to Sora:

Illustrative: each event changes one relationship
EventWhat changesWhat stays as it was
Sora leaves Cedar on 30 SeptemberCedar disables [email protected] and removes its access through its leaver process.Sora's photo books and past orders. Cedar has no authority over them, and the photo service is not told.
A security report on 4 OctoberSora's photo service password appears in a published list of leaked passwords, and the photo service locks customer-55120. A sign-in with that password is refused.The support agent's account, every other customer's account, and anything at Cedar, which is not the photo service's to change.
Sora recovers the account on 5 OctoberSora proves control of the account with the passkey saved on Sora's phone, a recovery route that does not depend on email, and sets a new password. The photo service unlocks customer-55120, and Sora signs in again.The account's albums, orders and roles. Unlocking restores sign-in and nothing more.

Now consider a shortcut someone at the photo service might propose: when a member of staff leaves, close every account in the directory with the same email address. A support agent who also shops at the photo service under that address would lose their personal albums and order history along with their job. The shortcut also skips the proof each change needs. A matching email address identifies neither which relationship has ended nor who owns the account it points to. Each relationship ends through its own lifecycle, and closing a customer account needs its own authenticated request, its own scope, and its own decision about which data to keep.

Design the experience around the relationship

Workforce identity is administered. Cedar's managers request access, owners approve it, accounts appear before someone's first day, and duties are divided so that no one person can both create a supplier and pay it. Customer identity is mostly self-service. A customer needs a registration they can finish alone, recovery that works without calling anyone, and clear control over their profile and the sign-ins connected to it. Both need secure defaults, authorization checked against current assignments, and failures a person can understand and recover from.

Sora's customer account shows where the two can catch each other out. Sora registered with [email protected], and in that autumn, some weeks after Sora leaves Cedar, the mailbox behind that address is closed. The photo service did nothing wrong, yet its receipts and password resets now go to an address Sora can no longer read, and the account depends on an employment relationship the photo service never knew about. A good customer design lets Sora change the email address after proving control of the account, confirms the new address before using it, and announces the change at both addresses while the old one still works. It also avoids leaving one email address as the only way back in.

Every change in Sora's autumn touched one relationship and left the other in its own legitimate state. That is what keeps a shared system honest. One sign-in page and one directory can serve staff and customers alike, as long as current permissions and resource scope keep deciding what each account may do.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

After a security report, the photo service locks Sora's customer account. Sora also works at Cedar, and a support agent's staff account sits in the same directory. What should the lock change? 1 of 3

Choose one answer.

A customer sets the display name "Photo Support" and registered with [email protected]. What decides whether the account may use the photo service's support tools? 2 of 3

Choose one answer.

Sora registered at the photo service with [email protected]. Weeks after Sora leaves Cedar, that mailbox is closed, and the photo service's receipts and password resets now go nowhere. What customer design would have helped most? 3 of 3

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity