Org2Org Integration (Basic) in Okta
A friendly, complete guide to connecting one Okta organization to another, so that people and groups travel across and sign-in just works.
Imagine two schools that share a few teachers. A teacher belongs to the main school, but spends two days a week at the smaller school across town. Without a plan, the smaller school must make a new staff card, a new timetable, and a new locker for that teacher, then remember to take it all away when the teacher stops visiting. That is a lot of paperwork, and mistakes are easy.
Now imagine the two schools agree on a simple arrangement. The main school keeps the official list of teachers. Whenever someone is added, changed, or removed from that list, the smaller school’s records update by themselves. And when the teacher arrives at the smaller school, the front desk already trusts the main school’s badge. Nobody fills out a form twice.
That arrangement is what Org2Org does for Okta. An Okta “org” is one company’s Okta account. Sometimes a business has two or more of them. Org2Org connects them so that one can send people, groups, and trust to the other. This post explains the basic version of that connection from the very beginning. You do not need to know anything about Okta first. By the end you will understand what the pieces are, how data and sign-in flow between them, how to set it up carefully, and how to keep it healthy.
WWhat Is Org2Org?
It is a ready-made Okta connection that links one Okta organization to another.
An Okta organization, usually shortened to org, is a separate Okta environment with its own web address, its own people, its own applications, and its own rules. Most companies have one. But many have two, three, or dozens. A company might keep a “production” org for real work and a “preview” org for testing. A group of companies that merged might each still have their own org. A large business might give each region or division its own.
Org2Org is the name of an integration in Okta’s application catalog that lets one org treat another org as if it were any other application. It does two big jobs:
Single sign-on
A person signed in to the first org can open the second org without typing a password again. The first org vouches for them.
Provisioning
People and groups created, changed, or removed in the first org are copied, changed, or removed in the second org automatically.
Think of two offices of the same company in different cities. The head office keeps the staff register and issues badges that the branch office accepts at the door. When someone joins or leaves, head office sends a note, and the branch office updates its own register. Org2Org is the note-sending and the badge-accepting.
Okta changes its product often. Names of screens, options, and limits may differ from what you read here, and what the word “Basic” covers can vary with product version and licensing. This post uses “basic” to mean the standard, straightforward setup: sign-in trust plus user and group provisioning. Always confirm details against current Okta documentation for your organization.
BBuilding Blocks in Plain Words
Ten small ideas explain the whole subject.
Org
One Okta environment with its own address, people, applications, and rules.
Source org
The org that holds the official list of people and acts as the trusted sign-in provider. Also called the hub or parent.
Target org
The org that receives people and trusts the source. Also called the spoke or child.
Application
In the source org, the target org appears as an application tile named for the Org2Org integration.
Single sign-on
Signing in once and reaching other places without more prompts.
Provisioning
Automatically creating, updating, and deactivating accounts in another system.
API token
A long secret code that lets the source org act as an administrator in the target org when copying people.
Group push
Copying a group, and its members, from the source org to the target org.
Attribute mapping
The table that says which piece of information in one org matches which piece in the other.
Assignment
Choosing which people and groups in the source org are allowed to use the connection.
How the pieces fit
In the source org, an administrator adds the Org2Org application and fills in the details of the target org. The administrator gives the source org a secret key for the target, chooses which people and groups to send, and decides how their information should be translated. From then on, the source org keeps the target org up to date and vouches for its people at sign-in.
| Piece | Where it lives | Everyday comparison |
|---|---|---|
| Staff register | Source org | Head office’s official list of employees |
| Connection application | Source org | The courier route between head office and the branch |
| API token | Created in target org, stored in source org | A signed permission slip letting the courier update the branch register |
| Group push | Source org to target org | Sending the team lists along with the names |
| Sign-in trust | Set up on both sides | The branch door accepting head office badges |
| Mapping | Source org settings | A translation sheet between two forms |
WWhy Would a Company Have More Than One Org?
Several honest, everyday reasons lead to a second org. Knowing them tells you what the connection must achieve.
| Situation | What happened | What Org2Org does for it |
|---|---|---|
| Mergers and acquisitions | Two companies joined, each with its own org | Lets staff of one reach the other’s tools while the orgs are combined or kept apart |
| Test and production | A preview org is used to try changes before the real one | Copies sample people and groups to the test org so tests resemble real life |
| Divisions or regions | Each business unit runs its own org for independence or law | Keeps a central directory in sync with local ones |
| Customers or partners | A separate org holds outside users | Lets selected insiders reach partner tools without new passwords |
| Different products | One org for employees and another for something else | Shares the people that belong in both |
| Migration | The company is moving from an old org to a new one | Carries people across in a controlled way |
A family with a home in the city and a cabin in the mountains does not keep two completely separate sets of keys, bills, and addresses. They keep one master list and make sure the cabin knows who may stay. Having two places is normal; keeping them in step is the work.
Before building the connection, write one sentence that begins “We need this because…” If you cannot finish it clearly, pause. Org2Org is simple to switch on but harder to switch off safely once people depend on it.
TThe Hub-and-Spoke Picture
One org sends; the other receives. Keeping that direction clear prevents most confusion.
The most common arrangement is a hub-and-spoke picture. The source org is the hub and holds the authoritative list of people. One or more target orgs are spokes. Information flows from the hub to each spoke. Sign-in trust flows the same way: spokes trust the hub.
flowchart TD
HR["Authoritative people list - for example the HR system"] --> SRC["Source org - the hub"]
SRC -- "Users and groups copied" --> T1["Target org A"]
SRC -- "Users and groups copied" --> T2["Target org B"]
SRC -- "Sign-in trust" --> T1
SRC -- "Sign-in trust" --> T2
T1 --> A1["Applications in org A"]
T2 --> A2["Applications in org B"]
Why direction matters
In the basic setup, the target org receives people from the source org. It is not designed to send changes back. If someone edits a person’s details directly in the target org, the next update from the source may overwrite those edits, or the two orgs may drift apart. Decide in advance where each piece of information is allowed to be changed. This idea is called the source of truth.
Never let two orgs both believe they are the master list for the same people. They will fight, and the loser is whichever person happens to be edited last. Choose one source of truth for each group of people and each piece of information.
WWhat “Basic” Includes and What It Leaves Out
A basic setup does the essentials well. Knowing the edges stops you from expecting the wrong things.
| Included in a basic setup | Usually left for later or for other tools |
|---|---|
| Sending people from source to target | Two-way merging of changes |
| Updating people when their details change | Complex rules that decide between conflicting changes |
| Deactivating people who leave | Deleting accounts permanently with approval flows |
| Pushing groups and their members | Automatic mapping of every application assignment |
| Sign-in trust from source to target | Fine-grained control of administrator powers in the target |
| Simple attribute mapping | Heavy custom transformations and lookups |
| Manual setup and review by administrators | Fully automated rebuilding of whole orgs |
A basic bicycle has two wheels, pedals, brakes, and a chain. It gets you across town. You do not need gears, lights, and a basket to start, though you may add them later. A basic Org2Org setup carries people and trust across; fancier needs can be added when you truly have them.
Which options are available depends on your licenses and the version of Okta you run. If a screen mentioned here is missing for you, it may be a licensing difference or a name change. Ask your Okta contact before assuming something is broken.
TTwo Jobs: Sign-In Trust and Provisioning
These two jobs are separate. You can use one without the other, but they work best together.
| Sign-in trust | Provisioning | |
|---|---|---|
| Question answered | “Can this person get in without a new password?” | “Does this person’s account exist and match?” |
| When it happens | At the moment of sign-in | When people or groups change, and on a schedule |
| What moves | A short signed message saying who the person is | Names, emails, groups, and status |
| What breaks if missing | People have to sign in twice, or cannot sign in | People cannot be found or are out of date in the target |
| Main risks | Wrong trust settings, expired certificates | Wrong mapping, overwriting data, stolen token |
What happens if you use only one
If you set up sign-in trust without provisioning, the target org has nobody on its list, so the trusted visitor has no account to land in. Some setups can create the account on the spot, but this is easier to get wrong. If you set up provisioning without sign-in trust, the target org has the right people, but they still need separate passwords there. Most organizations want both.
A guest list and a badge reader. The guest list says who is expected. The badge reader checks who is at the door. A party with only a list has no way to check people in, and a party with only a reader has no way to know who belongs.
HHow Sign-In Works Between the Orgs
Follow one person from the source org into the target org and see who trusts whom.
The sign-in trust uses a standard way of passing proof of identity called SAML (pronounced “sam-el”). In plain words, the source org writes a short digital note that says, “This is Priya, her email is such-and-such, I checked her myself just now.” The note is signed with a secret that only the source org holds, so the target can tell it is genuine. The target org checks the signature, trusts the note, and lets Priya in.
sequenceDiagram
participant P as Person
participant B as Browser
participant S as Source org
participant T as Target org
P->>B: Click the target org tile
B->>S: Ask the source org to sign the person in
S->>S: Check the person's session and rules
S->>B: Return a signed identity note
B->>T: Present the signed note
T->>T: Check the signature and the person's account
T->>B: Create a session in the target org
B->>P: Show the target org
The person is signed in to the source org
They used their usual password and second factor there.
They open the target tile
The tile is an application in the source org’s dashboard.
The source org builds a signed note
The note carries the person’s username, email, and sometimes other facts.
The browser delivers it to the target org
The note travels through the person’s browser, not directly between the orgs.
The target org checks the note
It confirms the signature, the intended recipient, the time, and that it knows the person.
A session starts in the target org
The person is in without typing another password.
The target org does not need to know the person’s password. It only needs to trust the source org’s signature. That is why protecting the source org’s sign-in is so important: everything downstream relies on it.
HHow People Are Copied Between the Orgs
Provisioning is a conversation between the two orgs, carried out by machines on behalf of administrators.
When someone is assigned to the Org2Org application in the source org, or when their information changes, the source org sends a request to the target org. The request uses the target org’s management interface, which is the same interface administrators and tools can use to manage users. The source org proves it has permission by presenting an API token created in the target org.
sequenceDiagram
participant A as Administrator
participant S as Source org
participant T as Target org
A->>S: Assign a person or group to the connection
S->>S: Prepare the person details using the mapping
S->>T: Request - create this user, with the API token
T->>T: Check the token and permissions
T->>T: Create the user
T->>S: Confirm success
Note over S,T: Later changes are sent the same way
A->>S: Change the person details
S->>T: Request - update this user
A->>S: Remove the assignment
S->>T: Request - deactivate this user
The three lifecycle actions
New person appears
A person assigned in the source org gets a matching account in the target org.
Details change
A name, title, or department change in the source org is passed on to the target.
Person leaves or is unassigned
The target account is switched off, so access ends without anyone remembering to do it.
Automatic deactivation is a benefit and a danger. If an assignment is removed by mistake, many people can lose access in minutes. Always test with a few people before assigning large groups, and know how to restore access quickly.
BBefore You Begin: A Preparation Checklist
Most Org2Org troubles begin before anyone touches a setting. A little preparation saves days.
| Question | Why it matters |
|---|---|
| Which org is the source and which is the target? | Everything else follows from the direction |
| Who owns each org? | You need approval and a person who can create tokens and apply changes on both sides |
| Which people should be copied? | Start with the smallest sensible set |
| Do any of these people already exist in the target? | Duplicates and conflicts are the top cause of trouble |
| Which username format does each org use? | People are matched by username, so formats must line up |
| Which groups should be copied? | Groups carry application access, so they need care |
| Which attributes must travel? | Decide the mapping before you build it |
| Who is the source of truth for each attribute? | Avoids two orgs editing the same fact |
| Is there a test pair of orgs? | Try everything on the test pair first |
| Which licenses and limits apply? | Extra users may count toward costs and rate limits |
| What is the rollback plan? | Know how to stop and undo before you start |
Write the answers on one page and share it with both org owners. A single page of agreed answers prevents the classic argument of “I thought you were handling that.”
SSetting It Up, Step by Step
Here is the whole process in plain words. Screen names may differ, but the order of ideas stays the same.
Prepare the target org
Create a dedicated service account with only the permissions needed to manage users and groups. Do not use a personal administrator account.
Create an API token in the target org
Sign in as the service account and create a token. Copy it once, because it is shown only at creation, and store it in a safe secret keeper.
Add the Org2Org application in the source org
Find it in the application catalog, give it a clear label such as the target org’s purpose, and enter the target org’s web address.
Set up the sign-in trust
Exchange the details each side needs: the address the note should be sent to, the name of the sender, and the certificate used to verify signatures. The catalog entry guides you through this.
Enable provisioning
Paste the API token, test the connection, and choose which actions to send: create, update, and deactivate.
Review the attribute mapping
Check that each source field lands in the right target field.
Assign a tiny test group
Choose two or three test people. Watch them arrive in the target org.
Test sign-in
Have a test person open the target through the source tile. Confirm they land in the right account.
Test change and removal
Edit a test person’s title, then unassign them, and confirm the target follows.
Widen in stages
Add more people and groups in waves while watching the logs.
Document and hand over
Record owners, token location, renewal dates, and the rollback plan.
Do the whole sequence in a test pair of orgs first. A mistake in the real target org, such as assigning too many people, can create thousands of accounts before you notice.
TThe API Token and the Service Account
The token is the key that opens the target org to the source org. Treat it like the master key to a building.
An API token is a long secret string. Anyone holding it can do whatever the token’s owner is allowed to do, without a password or a second factor. The source org stores the token and presents it with every request to the target org. That is convenient for automation, and dangerous if the token leaks.
Use a dedicated account
Create a service account in the target org just for this connection, named so that everyone understands its purpose.
Give the least power
Allow only what provisioning needs. Do not make the account a super administrator unless there is no alternative.
Store the token safely
Keep a copy in a proper secret keeper, never in email, chat, or a shared document.
Know the expiry habits
Tokens may lapse after a period of no use, and they stop working if the owner account is deactivated or changed.
Plan rotation
Replace the token on a schedule and whenever someone with access leaves the team.
Limit where it can be used
If your Okta settings allow it, restrict use of the token to the source org’s known network addresses.
A courier who carries a signed permission slip to update the branch register is useful. If the slip is photocopied and handed around, anyone can alter the register. The slip should be kept in a locked drawer, reissued often, and tied to one courier.
A very common failure is a token owned by a real person. When that person leaves and their account is deactivated, the token stops working, and provisioning silently stops. Use a service account that has a clear owner and survives staff changes.
AAttribute Mapping: Translating Between the Orgs
Two orgs may name the same fact differently. The mapping is the dictionary between them.
Every person in an org has a profile: a set of facts such as first name, last name, email, username, title, department, manager, and phone. These facts are called attributes. The source org and the target org may both have an attribute for “department,” but one might call it department and the other division. The mapping tells the source org which of its facts to put into which of the target’s slots.
| Source attribute | Target attribute | Notes |
|---|---|---|
| Username | Username | The key used to match people. Formats must agree |
| First name | First name | Straightforward |
| Last name | Last name | Straightforward |
| Often used for notifications, so it must be valid | ||
| Title | Title | Optional but useful |
| Department | Department | May drive group rules in the target |
| Manager | Manager | Be careful: it refers to another person who must also exist in the target |
| Employee identifier | Employee identifier | Helps match the same person across systems |
Questions to ask for each attribute
- Does the target truly need it, or are we copying it only because we can?
- Does it contain private information that should stay in the source org?
- Do both orgs allow the same values, or does the target have a stricter list?
- Can the target org also edit it, and if so, which version wins?
Imagine copying names from a form that says “Surname” onto a form that says “Family Name.” A helpful clerk with a note taped to the desk saying “Surname goes in Family Name” makes no mistakes. The mapping is that note, and it should be written down and reviewed.
Send only what the target needs. Every extra attribute increases privacy exposure, the chance of mapping mistakes, and the work required when either org changes its profile.
MMatching People: Usernames and Identity
The target org must recognize that “Priya in the source” and “Priya in the target” are the same person.
When the source org sends a person to the target, the target must decide: is this a new person, or one that already exists? The usual clue is the username, which in Okta is typically an email-style address and must be unique within an org. If the same username already exists in the target, the connection can either match the existing person or fail with a conflict.
| Case | What happens | What to do |
|---|---|---|
| Person does not exist in target | A new account is created | Normal, expected path |
| Person already exists with the same username | The orgs may link the accounts, or report a conflict, depending on settings | Review these before widening the rollout and decide to link or clean up |
| Different usernames for the same human | The target sees two people | Align formats first, using a mapping rule or cleaning the data |
| Same username belongs to two different humans | One person might receive the other’s account | Resolve before connecting, since this is a serious mix-up |
| Username changes in source | The target must be told to rename, or a duplicate may appear | Test renames explicitly |
Matching by username alone can connect the wrong two people, for example when an old account name has been reused for a new employee. Add a stable unique identifier, such as an employee number, to your checks before trusting a match.
Everyday example
After a merger, one company uses email-style usernames based on first name and surname, while the other uses short codes. A mapping that creates target usernames in the target’s style, built from the source email, avoids a mess. Without it, the same person would appear twice, once under each style.
GGroups and Group Push
Groups save work, because access follows them. Sending them across is a major part of the connection.
In Okta, a group is a named collection of people, such as “Finance” or “Engineering.” Applications and policies are often assigned to groups rather than to individuals. Group push is the feature that creates matching groups in the target org and keeps their membership in step with the source.
flowchart LR
subgraph SRCG ["Source org"]
G1["Group: Finance"]
U1["Priya"]
U2["Arjun"]
U1 --> G1
U2 --> G1
end
subgraph TGTG ["Target org"]
G2["Group: Finance - pushed copy"]
U3["Priya - copy"]
U4["Arjun - copy"]
U3 --> G2
U4 --> G2
end
G1 -- "Group push" --> G2
Cautions about groups
Name collisions
If the target already has a group with the same name, decide whether to link to it or rename. Silent merging can give people unexpected access.
People must be copied first
A group can only contain people who exist in the target. Make sure members are assigned to the connection too.
Groups carry power
If a pushed group is already tied to applications or rules in the target, membership changes there immediately change access.
Prefer a naming convention
Use prefixes that show where a group came from, so nobody edits a pushed group in the target and expects it to stick.
Sending a team list along with each employee note means the branch office can seat the team together without redoing the roster. But if the branch already has a “Finance team” list that means something different, sending ours on top of it can confuse everyone.
CChoosing Who Is Included
Assignment decides who is sent and who is trusted. Smaller scopes are safer scopes.
Only people and groups assigned to the Org2Org application in the source org are copied and allowed to sign in to the target through it. Assigning “Everyone” is quick but sends everyone, including people who have no business in the target. A careful administrator assigns by purpose.
| Scope choice | Good for | Risk |
|---|---|---|
| Everyone in the source | Orgs that truly share a whole workforce | Copies people who do not need the target; larger blast radius |
| A department or role group | A division that works in the target | Needs the group to be accurate |
| A project group | Temporary shared work | Must be removed when the project ends |
| A hand-picked list | Pilots and special cases | Becomes stale and hard to audit |
Create a dedicated group in the source org named for the connection, such as “Target Org Access.” Assign that single group to the application. Controlling the group controls the connection, and the group’s membership tells auditors exactly who is covered.
SSource of Truth and Drift
When two copies of the same fact exist, they eventually disagree unless someone decides which one counts.
After provisioning begins, each person exists twice: once in the source and once in the target. The two records are supposed to match, but they can drift apart in several ways: an administrator edits the target directly, the target has local rules that change attributes, or an update fails and nobody notices.
| Cause of drift | Example | Prevention |
|---|---|---|
| Direct edits in the target | A target administrator fixes a typo in a name | Restrict editing of provisioned attributes; teach staff to fix at the source |
| Failed updates | A temporary outage blocks a change | Watch for provisioning errors and retry |
| Local rules in the target | A rule changes the department | Document which attributes are controlled where |
| Mapping changes | A new mapping applies only to new people | Re-sync after any mapping change |
| Deleted or recreated accounts | Someone deletes a target account by hand | Restrict deletion rights; reconcile regularly |
Two photocopies of the same list, kept in separate offices, begin to differ the moment someone pencils a correction on one. Unless the corrections are always made on the original and re-copied, the lists slowly stop agreeing.
A calm approach
Decide, attribute by attribute, who may change it. Write it in a short table that every administrator of both orgs can see. Then run a regular comparison that lists people who differ between the orgs, and fix differences at the source.
JJoiners, Movers, and Leavers Across Two Orgs
Every person’s life at work passes through three moments. Both orgs must follow each one.
| Event | What the source does | What the target should do |
|---|---|---|
| Joiner | Creates the person and adds them to the right groups | Receives the person and group memberships automatically |
| Mover | Changes department, title, or groups | Updates the profile; gains and loses group-based access |
| Leaver | Deactivates the person | Deactivates the matching account; sessions end |
| Long absence | May suspend the person | Should not allow sign-in until the person returns |
| Rehire | Reactivates or recreates the person | Reactivates the matching account without creating a duplicate |
HR system changes
The authoritative record is updated.
Source org follows
The person is created, changed, or deactivated.
Provisioning runs
The source org sends the change to the target.
Target org updates
Account and group membership change accordingly.
Sessions and tokens end
For a leaver, existing sessions in both orgs should be cleared.
Deactivation in the target may not instantly end a session that already exists, and applications reached from the target may hold their own sessions and tokens. For a leaver, plan to clear sessions and revoke tokens in both orgs.
SStarting From the Source or the Target
People may begin their journey at either org. Both starting points should be planned.
| Starting point | How it works | Typical experience |
|---|---|---|
| From the source dashboard | The person clicks the target tile. The source sends a signed note straight to the target | Smooth, one click |
| From the target address | The person types the target org’s address. The target must know to send them to the source to sign in | Smooth only if routing is configured; otherwise they see a local sign-in page |
When the person begins at the source, the process is called IdP-initiated sign-in, because the identity provider starts it. When they begin at the target, it is called SP-initiated, because the service provider starts it. The target org can be configured to treat the source as an identity provider and to route certain people, for example those with a company email domain, to the source automatically.
flowchart TD
S1["Person opens the target address directly"] --> R{"Does a routing rule match this person?"}
R -- Yes --> SRC["Redirect to the source org to sign in"]
SRC --> BACK["Signed note returns to the target"]
BACK --> IN["Person is in the target org"]
R -- No --> LOC["Target's own sign-in page"]
Plan one or two fallback administrators in the target org who sign in locally, outside the routing rule. If the source org has an outage, someone must still be able to reach the target to fix things.
PProof of Identity: Who Does the Second Factor?
When one org vouches for a person to another, the strength of the vouching matters.
Suppose the source org checks a password and a fingerprint, then vouches for the person to the target. The target accepts that note. If the source org’s sign-in was weak, for example a password alone, the target has inherited that weakness without knowing it. The strength of the chain is the strength of its weakest link.
Strong rules at the source
Make sure the application tile for the target is protected by strong sign-in rules in the source org, appropriate to what lives in the target.
Extra checks at the target
Some setups ask the target org to ask again for a second factor for sensitive actions, even though the source already verified the person.
Pass the method along
Where supported, the note can say how the person proved themselves, so the target can decide whether that is enough.
Treat administrators separately
Administrators of the target should have stricter requirements than ordinary users.
If a school accepts a note from another school’s teacher saying “this child is well and able to attend,” the note is only as trustworthy as the teacher’s checking. Schools that care about safety agree on how strict the checking must be before they trust each other’s notes.
TTwo Sessions, Two Clocks
Being signed in to the source does not mean being signed in to the target forever.
Each org has its own session rules. When a person arrives in the target through the trust, the target starts its own session with its own lifetime and idle limit. Ending the source session does not necessarily end the target session, and the other way around.
| Event | Effect on the source session | Effect on the target session |
|---|---|---|
| Person signs out of the source | Ends | May remain until its own limits end |
| Person is idle in the target | Unchanged | Ends when the target’s idle limit is reached |
| Administrator clears sessions in the source | Ends | Not automatically ended |
| Person is deactivated in the source | Ends | Ends when provisioning deactivates the target account, or when a session check next fails |
When responding to a stolen device or a leaver, clear sessions in both orgs. Clearing only the source leaves an open door in the target.
AAdministrators in Two Places
Administrator powers deserve extra care when two orgs are tied together.
The source org can create accounts in the target org. If the service account behind the API token is too powerful, anyone who controls the source org can effectively control the target org. This is a trust relationship in one direction, and it should be designed deliberately.
| Question | Safer answer |
|---|---|
| Should provisioned people receive administrator roles in the target? | No, not by default. Grant target administrator roles locally and with approval |
| Should the service account be a super administrator? | Avoid it. Give only the rights needed to manage users and groups |
| Should source administrators automatically be target administrators? | No. Separate duties reduce the damage of one stolen account |
| Who may change the connection settings? | A short named list in the source org, reviewed regularly |
| What if the source org is compromised? | Have a plan to disable the connection and revoke the token from the target side |
Two companies sharing a building might agree that each can enter the other’s lobby, but not the other’s vault. Giving the neighbour a master key because it is convenient is how a break-in at one company becomes a break-in at both.
TTesting With a Pair of Preview Orgs
The best place to make mistakes is a place where mistakes are free.
Okta offers preview or sandbox orgs designed for experiments. Build a test pair that mirrors the real pair as closely as possible: similar usernames, similar groups, a few dozen representative people. Then run through every scenario in this post before touching production.
| Test | Expected result |
|---|---|
| Assign one new person | Account appears in the target with correct attributes |
| Change that person’s title and department | Target profile updates |
| Add the person to a pushed group | Group membership appears in the target |
| Open the target through the source tile | Person lands signed in, in the correct account |
| Open the target address directly | Routing sends them to the source, or shows the local page, as designed |
| Unassign the person | Target account is deactivated |
| Reassign the person | Target account is reactivated, with no duplicate |
| Create a person that already exists in the target | Behavior matches your decision: link or conflict |
| Revoke the token | Provisioning fails visibly and an alert fires |
| Rotate the signing certificate | Sign-in continues after the planned update |
Keep the test pair alive after launch. Every future change, such as a new mapping or a new group, should be rehearsed there before it reaches production.
RRolling Out in Waves
A careful rollout feels slow on day one and fast on day thirty.
Wave zero: administrators only
Two or three administrators from each side try everything and note surprises.
Wave one: a friendly pilot
A small team that will give honest feedback. Watch provisioning logs closely.
Wave two: one department
Test groups, dashboards, and help desk readiness.
Wave three: everyone in scope
Assign the remaining groups in batches, not all at once, to stay inside rate limits.
Review and settle
Compare records between the orgs, clear differences, and update the documents.
Okta places limits on how many requests an org can handle in a short time. Copying thousands of people at once can run into those limits and slow other work. Spread large assignments over time and check current limits in the documentation.
SSecurity: What Can Go Wrong
A link between two orgs is also a link for attackers. Knowing the likely attacks tells you where to place the locks.
| Threat | How it works | Defense |
|---|---|---|
| Stolen API token | An attacker finds the token in a document or a log and manages the target org | Secret keeper, least-power account, rotation, network restriction, alerts |
| Compromised source administrator | An attacker in the source org assigns themselves to the target or changes the mapping | Strong sign-in for source administrators, change review, logging |
| Weak sign-in at the source | The target trusts notes from a source that accepted a weak proof | Strong rules for the target tile in the source org |
| Over-broad assignment | Too many people are copied and trusted | Small named groups, review membership |
| Privilege creep | Pushed groups grant target administrator powers by accident | Keep administrator roles local and approved |
| Forged or replayed sign-in notes | An attacker tries to reuse or fake a signed note | Valid signature and time checks, short lifetimes, correct certificates |
| Dormant leftovers | Accounts remain active in the target after the person left | Reliable deactivation and regular comparison |
| Phishing of administrators | A fake page captures an administrator’s sign-in | Phishing-resistant factors for administrators in both orgs |
A bridge between two castles is useful for traders, but it also gives enemies a road. Sensible rulers put a gate at each end, guard the keys, count who crosses, and know how to raise the bridge in an emergency.
The “raise the drawbridge” plan
Write down, in advance, the steps to cut the connection quickly if either org is suspected to be compromised: disable provisioning in the source, revoke the token in the target, turn off the sign-in trust, and clear sessions in both orgs. A plan written during an emergency is rarely a good plan.
Remember that trust is transitive in practice. If org C trusts org B, and org B trusts org A, then someone who breaks into A may reach C. Draw the whole chain of trust on one diagram and review it regularly.
CCertificates and Keeping Trust Alive
Signed notes need keys. Keys expire. Plan for it before it happens.
The signature on each sign-in note is made with a certificate: a digital document that holds a public key and has an end date. The target org keeps a copy of the source’s certificate so it can check signatures. When the certificate expires or is replaced, the target must learn about the new one. If it does not, every sign-in fails with a signature error, and people are suddenly locked out of the target.
Record the expiry date
Put it in a shared calendar with reminders at ninety, thirty, and seven days.
Create the new certificate in advance
Generate it in the source org without making it active yet.
Share it with the target
Update the target org so that it can accept the new certificate.
Switch over at a quiet time
Activate the new certificate and test sign-in with a few people.
Retire the old certificate
After everything works, remove the old one.
| Item that expires or changes | Effect when forgotten |
|---|---|
| Signing certificate | Sign-in into the target fails for everyone |
| API token | Provisioning stops quietly |
| Service account password or status | Token stops working |
| Network address allow-lists | Requests are refused if addresses change |
Keep a short “keys and dates” register for each connection: what expires, when, who renews it, and how to test afterwards. Most Org2Org outages that surprise people are simply forgotten expiry dates.
PPrivacy, Compliance, and Data Boundaries
Copying people from one place to another is also copying personal data. Laws and contracts care about that.
Many organizations keep separate orgs on purpose: for different countries, subsidiaries, or customers. Rules may limit what personal information can move between them, or where it can be stored. Before connecting, ask whether moving each attribute is allowed and needed.
| Topic | Question to ask |
|---|---|
| Data location | Do any rules require people from one region to stay in an org hosted in that region? |
| Data minimization | Are we copying only the facts the target truly needs? |
| Legal entity boundaries | Are the two orgs run by separate legal entities that need an agreement for sharing employee data? |
| Purpose | Is the reason for the copy documented and acceptable? |
| Retention | How long is a deactivated person’s record kept in the target? |
| Access to records | Who can read the copied personal information in the target? |
| Audit | Can we show who was sent, when, and why? |
This post gives general ideas, not legal advice. Ask your privacy and legal teams about cross-border and cross-entity sharing before you copy people between orgs.
Everyday example
A group has a parent company org and a subsidiary org in a country with strict rules about employee data. The parent sends only name, work email, and department to the subsidiary, and nothing about home address or personal phone. The mapping documents this decision, and the privacy team signs it off.
RReliability, Limits, and Retries
Two systems talking over the internet will sometimes fail. Good design expects it.
Provisioning happens by sending requests across the internet. Networks drop, services restart, and Okta limits how fast any org may send or receive requests. A healthy connection copes with these things by retrying and by reporting what it could not do.
Rate limits exist
Large batches may be slowed or temporarily refused. Spread changes over time.
Retries help, not forever
Temporary failures often fix themselves. Permanent failures, such as a bad mapping, need a human.
Failures can be quiet
If nobody watches the logs, a stopped sync looks exactly like a working one until someone’s account is wrong.
The source is a single point
If the source org has an outage, new people and changes wait. Sign-in into the target through the source also waits.
Planning for bad days
| Failure | What people notice | Preparation |
|---|---|---|
| Source org unavailable | Cannot sign in through the source; changes do not flow | Local emergency administrators in the target; communication plan |
| Target org unavailable | Tile fails; provisioning errors pile up | Alert on errors; retry after recovery |
| Token invalid | New starters are missing | Alert on provisioning failures; renew quickly |
| Certificate expired | Sign-in errors for everyone | Expiry calendar and rehearsed renewal |
| Large batch hits limits | Slow or partial copying | Batch in waves and watch progress |
MMonitoring, Logging, and Metrics
You cannot fix what you cannot see. A few simple measurements tell you whether the connection is healthy.
Both orgs write records of what happens: sign-ins, provisioning actions, errors, and administrative changes. Reading these on a schedule, or sending them to a central system, catches problems early.
| Measure | What it tells you | If it looks bad |
|---|---|---|
| Provisioning failures per day | Whether copying works | Read the error; usually token, mapping, or conflict |
| People assigned versus people present in the target | Whether the orgs agree | Investigate missing or extra accounts |
| Sign-in errors into the target | Trust health | Check certificates, clocks, and settings |
| Time from change to arrival | Speed of sync | Look for rate limits or outages |
| Changes to connection settings | Who is altering the link | Alert on unexpected changes |
| Token and certificate age | Upcoming expiries | Renew early |
| Deactivations that did not arrive | Leaver risk | Fix immediately and review the cause |
Alerts worth having
- Any provisioning failure that repeats more than a few times.
- Any change to the connection’s mapping, token, or assignments.
- Any new administrator role in the target.
- Any sign-in error spike into the target.
GGovernance, Ownership, and Change Control
A connection with no owner is a connection waiting to fail.
Name an owner on each side
One named person or team in each org is responsible for the connection.
Write a one-page design
Direction, scope, mapping, source of truth, token location, expiry dates, rollback.
Two sets of eyes on changes
A second administrator reviews mapping and assignment changes before they go live.
Rehearse in the preview pair
Every change is tried in the test pair first.
Review twice a year
Check scope, tokens, certificates, and who has access.
Plan the exit
Know in advance how to disconnect the orgs cleanly if they merge or separate.
Automation tools that manage the connection can also change who is trusted across orgs. Protect any script or pipeline that edits these settings as strictly as you protect an administrator.
DDesign Patterns That Work
These shapes have helped many organizations.
One source of truth
Pick a single org, fed by the HR system, as the master list. All others receive.
Connection group
A single group in the source controls who is sent. Add or remove people by editing that group.
Least-power service account
The token owner can manage users and groups but not policies or administrators.
Local break-glass administrators
Two emergency administrators in the target sign in locally and are watched closely.
Staged waves
Pilot, department, everyone, with checks between each.
Regular reconciliation
A monthly comparison of people in both orgs, fixing differences at the source.
Everyday example
A company with three regional orgs uses one global org as the hub. Each region’s staff are sent from the hub through a regional connection group. Regional administrators manage applications and policies locally, but cannot edit people, because people are edited only in the hub. Month-end reports show any person who differs between hub and region, and the global team fixes them in one place.
AAnti-Patterns to Avoid
These mistakes look sensible when made and cause trouble later.
Token owned by a real person
When that person leaves or changes roles, the token stops and provisioning fails silently. Use a service account with a clear owner.
Super-administrator service account
A token that can do everything turns a source-org breach into a target-org breach. Give the least power that works.
Two masters for the same people
Letting both orgs edit the same attributes leads to overwrites and confusion. Choose one source of truth.
Assigning “Everyone” on day one
A large first assignment can create thousands of accounts, hit limits, and expose mapping mistakes at scale. Start small and widen.
Ignoring expiry dates
Letting certificates and tokens lapse produces outages that arrive without warning. Keep a register and calendar.
Copying more attributes than needed
Every extra field adds privacy exposure and mapping work. Send only what the target needs.
Never testing in a preview pair
Trying changes directly in production is how thousands of accounts are accidentally deactivated. Rehearse first.
No way to reach the target if the source fails
If every administrator signs in through the source, an outage locks everyone out. Keep local emergency administrators.
BBest Practices and Common Mistakes
A short list to carry into a design meeting.
Best practices
- Write down direction, scope, and source of truth before building.
- Use a dedicated least-power service account for the token.
- Store tokens in a proper secret keeper and rotate them.
- Send only the attributes the target needs.
- Control scope through a single connection group.
- Test in a preview pair and roll out in waves.
- Keep a keys-and-dates register for tokens and certificates.
- Keep local emergency administrators in the target.
- Compare the two orgs regularly and fix differences at the source.
Common mistakes
- Skipping the check for existing duplicate accounts.
- Letting administrators edit provisioned fields in the target.
- Forgetting that pushed groups can carry real access.
- Trusting a weakly protected source org.
- Missing alerts, so a stopped sync goes unnoticed.
- Clearing sessions in only one org after an incident.
- Having no plan to disconnect the orgs.
- Documenting nothing, so knowledge lives in one head.
TTroubleshooting: When Something Does Not Work
Split every problem into two questions: is it about sign-in, or is it about copying people?
flowchart TD
S["Problem reported"] --> Q1{"Can the person sign in to the target?"}
Q1 -- No --> Q2{"Does the account exist in the target?"}
Q2 -- No --> P1["Provisioning problem - check assignment, token, mapping, conflicts"]
Q2 -- Yes --> Q3{"Is the error about the signature or trust?"}
Q3 -- Yes --> T1["Check certificate, clock, and trust settings"]
Q3 -- No --> T2["Check account status, session rules, and routing"]
Q1 -- Yes --> Q4{"Are the details or groups wrong?"}
Q4 -- Yes --> P2["Check mapping, source of truth, and recent edits in the target"]
Q4 -- No --> Q5{"Is access to applications wrong?"}
Q5 -- Yes --> P3["Check group membership and application assignments in the target"]
Q5 -- No --> D["Review the logs for the time of the problem"]
| Symptom | Likely cause | First check |
|---|---|---|
| New person missing in the target | Not assigned, or provisioning failed | Assignment and the provisioning error list |
| Everyone suddenly cannot copy | Token invalid or service account changed | Token status and owner account |
| Error that a user already exists | Duplicate username in the target | Existing accounts and the link-or-conflict decision |
| Wrong department or title | Mapping or target-side edit | Mapping table and recent changes in the target |
| Group is empty in the target | Members not yet copied, or push not enabled | Whether members are assigned and the group push settings |
| Signature or assertion error at sign-in | Certificate mismatch or clock difference | Certificate dates and server times |
| Person lands in the wrong account | Username mismatch in the sign-in note | Which attribute is used as the identifier |
| Leaver still has access | Deactivation failed or session still alive | Target account status; clear sessions in both orgs |
| Direct target address shows a local page | No routing rule matched | Routing rules and the person’s attributes |
Always note the person, the time, and the exact message. The logs in both orgs can then be searched at that moment, and the cause usually appears within minutes.
RReal-World Scenarios
Four stories show Org2Org at work.
Scenario 1: The merger bridge
Two companies merge. For a year they keep separate orgs while systems are combined. The larger company’s org is the hub and sends a “Merger Project” group to the smaller company’s org so that project staff can reach shared tools. When the orgs are finally combined, the connection is switched off, accounts are matched on employee numbers, and the project group is retired.
Scenario 2: The test org that looks like real life
A team wants to test new sign-in rules without risking production. They connect production to a preview org and copy a sample of people and groups. They try rules on the preview copy, find a mistake that would have locked out the finance team, and fix it before touching production.
Scenario 3: The silent token
New joiners in a regional org were missing for two weeks. The cause was a token owned by an administrator who had left. Provisioning failed quietly. The team moved to a service account, added an alert on repeated failures, and put token renewal in the keys-and-dates register.
Scenario 4: The certificate surprise
On a Monday morning nobody could reach the regional org through the hub. The signing certificate had expired over the weekend. Because the team had local emergency administrators, they signed in directly, loaded the new certificate, and restored service within the hour. Afterwards they added the dates to a shared calendar with early reminders.
CCleaning the Data Before You Connect
A connection copies whatever it finds. If the data is messy, the mess is copied too.
Many Org2Org projects stall not because the connection is hard, but because the people lists on either side are untidy. Spelling differences, old accounts, shared mailboxes, and people who left long ago all show up as soon as two lists are compared. A short cleaning exercise before the first assignment is the cheapest insurance you can buy.
| Problem found | Why it hurts | Cleaning step |
|---|---|---|
| Accounts for people who left | They would be copied and given access | Deactivate them in the source before connecting |
| Duplicate people with different usernames | The target ends up with two accounts for one human | Merge or remove duplicates and choose one username |
| Shared or generic accounts | Hard to attribute actions; unclear ownership | Name an owner or retire them |
| Missing or wrong email addresses | Notifications and matching fail | Fix from the HR system |
| Inconsistent job titles and departments | Group rules and reports become unreliable | Agree a short list of allowed values |
| Unclear manager links | Manager attribute points at nobody | Repair the chain or leave it out of the mapping |
| Old groups nobody understands | They would carry unknown access into the target | Review, rename, or delete before pushing |
Before moving house, sensible people sort their belongings and throw away broken things. Carrying a damaged chair across town costs the same effort as carrying a good one. Cleaning the people list before connecting is sorting before the move.
A simple cleaning routine
Export both lists
Get the people and groups from each org into a simple table.
Compare by a stable identifier
Match on employee number or similar, not just on name.
Sort the differences into piles
Same person, different person, only in one org, and unknown.
Decide each pile
Link, create, remove, or investigate.
Fix at the source
Correct the data in the authoritative place, not in the target.
Do the comparison with a small sample first. Fifty people reveal nearly every kind of problem that five thousand will, and they are far easier to examine by hand.
OOther Ways to Do the Same Job
Org2Org is one tool among several. Knowing the alternatives helps you choose honestly.
Connecting two Okta orgs is not the only way to share people and trust. Depending on your size and goals, another approach may be simpler or stronger. The table compares common choices in plain terms.
| Approach | How it works | Best when | Watch for |
|---|---|---|---|
| Org2Org (basic) | Source org sends people and trust to a target org | You have two or a few orgs and one clear hub | One direction only; token and certificate upkeep |
| Sign-in trust only | The target trusts the source’s sign-in but creates accounts on first use or by hand | You need access but not a full copy of the people list | Account creation gaps; manual cleanup of leavers |
| Shared directory feeding both orgs | A central directory or HR system feeds each org directly | You have many orgs and a strong central source | More moving parts, but no org depends on another |
| Manual or spreadsheet loading | Administrators import people by hand | One-off or tiny setups | Mistakes, delays, forgotten leavers |
| Merge into one org | Combine the orgs into a single environment | The separate orgs no longer serve a purpose | Planning effort; policy conflicts to settle |
Moving goods between two shops can be done with a courier, a shared warehouse, a handwritten delivery list, or by merging the shops. A courier is perfect for two shops with one supplier. A shared warehouse suits twenty shops. Choosing well depends on how many shops you have, not on which method sounds fanciest.
A simple way to choose
Org2Org
When one org is clearly the master and you have only a few receiving orgs.
A central feed
When many orgs need the same people and no single org should be special.
A merge
When the reason for separate orgs has disappeared and policies can be agreed.
Sign-in trust only
When people only visit the target occasionally and a full copy is unnecessary.
EEnding the Connection Cleanly
Every connection should have a planned ending, even if the ending is years away.
Orgs get merged, businesses are sold, and projects finish. When that day comes, you need to turn off the connection without locking people out or leaving dangerous leftovers. Thinking about the ending early makes the middle simpler.
What to decide before disconnecting
- Will the people in the target keep their accounts, or be removed?
- If they keep them, who becomes the source of truth for them afterwards?
- How will they sign in once the source no longer vouches for them?
- What happens to groups that were pushed from the source?
- When will the API token and signing certificate be retired?
Announce and prepare
Tell affected people what will change and when. Make sure they can sign in locally in the target.
Take ownership of accounts
Decide who now manages people in the target and set local password and factor options.
Stop provisioning, keep accounts
Unlink the application in a way that leaves target accounts active, if that is the plan. Read the options carefully, because some choices deactivate everyone.
Turn off the sign-in trust
Remove the identity provider in the target or disable routing rules.
Revoke the token and retire the service account
Remove the key that allowed the source to manage the target.
Check and record
Verify sign-in, review the logs, and update the documentation.
Removing the application from the source can, depending on settings, deactivate every provisioned account in the target. Read each prompt carefully, rehearse in the preview pair, and have a person ready to restore accounts if something goes wrong.
SSupport, Communication, and Cost
The technical part is only half the work. People need to know what is happening and who will help.
The help desk needs a short guide
When two orgs are connected, support questions change. “I cannot sign in” might mean the source, the target, the routing rule, or the person’s account state. Give the help desk a one-page guide that starts with the two big questions: did the person sign in to the source first, and does their account exist in the target.
| What people say | What it may mean | First step for the help desk |
|---|---|---|
| “The new tile does nothing.” | Not assigned, or the account is not in the target yet | Check the assignment and the provisioning list |
| “It asks for a password I do not have.” | Routing sent them to a local page | Confirm the routing rule and the person’s attributes |
| “My title is wrong in the other system.” | Source data or mapping problem | Check the source record and recent edits |
| “I still can get in after leaving.” | Session or deactivation delay | Check account status and clear sessions in both orgs |
Telling people what is happening
Explain in plain language what the connection does, what changes for them, and where to ask for help. Most people only need to know: “Sign in at the usual place and click this tile.” A short announcement, a one-page guide, and a way to report problems prevent most frustration.
Counting the cost
Connections can affect licensing and capacity. Extra accounts in the target may count toward costs. Large batches use rate limits that other work also needs. Ask your Okta contact how licensing treats copied users and review the numbers before widening the scope.
The cheapest connection is the one that sends only the people who truly need it. A smaller scope costs less, is easier to audit, exposes less personal data, and fails in smaller ways.
DDesigning the One-Page Connection Record
Every connection should fit on a single page that anyone on the team can read in five minutes.
When the original builder is on holiday, or has moved to another team, the next person should be able to understand the connection quickly. A one-page record makes that possible. It is not paperwork for its own sake; it is the thing that lets a worried administrator at two in the morning find the answer in seconds.
| Section | What to write |
|---|---|
| Purpose | One sentence on why the connection exists and who benefits |
| Direction | Which org is the source and which is the target |
| Owners | Named people or teams on each side, with contact details |
| Scope | The connection group, how it is filled, and how many people are expected |
| Mapping | The attribute table, with the source of truth for each attribute |
| Service account and token | Account name, permissions, where the token is stored, renewal date |
| Sign-in trust | Certificate dates, routing rules, and the plan for emergency administrators |
| Monitoring | Which alerts exist and who receives them |
| Rollback | Step-by-step instructions to cut the connection safely |
| Review dates | When the record was last checked and when it must be checked again |
A pilot flies with a checklist even after ten thousand hours, because forgetting one item can matter greatly. The one-page record is the checklist for the connection: short, clear, and always within reach.
Store the record where the on-call team can reach it even if Okta itself is unavailable. A perfect document that can only be opened through the very system that has failed is not much help.
AA Day Two Checklist: Keeping It Healthy
The launch is exciting. The years after the launch are where reliability is earned.
Once the connection is running, small regular habits keep it dependable. The table below groups them by how often they happen.
| How often | Habit | Why |
|---|---|---|
| Daily | Glance at provisioning errors and sign-in errors | Catches stopped syncs within hours |
| Weekly | Review changes to the connection’s settings and assignments | Spots unexpected edits early |
| Monthly | Compare people and groups between the orgs | Finds drift before it grows |
| Quarterly | Check the keys-and-dates register and test emergency administrators | Prevents expiry surprises and lockouts |
| Twice a year | Review scope, owners, attributes, and the need for the connection | Keeps the design honest |
| Yearly | Rehearse the rollback and an incident response drill | Makes sure the plan still works |
Watch the quiet
A silent log can mean everything is fine, or that nothing is running. Confirm periodically that alerts truly fire.
Test the unhappy path
Practise renewing a certificate and recovering from a revoked token while nothing is on fire.
Keep the preview pair fresh
Refresh test data now and then, so tests still resemble real life.
Share the knowledge
Make sure at least two people can run every step, so the connection never depends on one person.
AAdvantages, Disadvantages, and Trade-offs
The same features that save work also create new things to look after.
Advantages
- One source of truth for people, instead of two lists kept by hand.
- Single sign-on across orgs, with no extra passwords.
- Joiners, movers, and leavers flow automatically.
- Ready-made integration in Okta’s catalog, quick to start.
- Useful in mergers, test setups, and multi-region designs.
Disadvantages
- Creates a trust path between orgs that attackers may use.
- Depends on tokens and certificates that expire.
- The basic setup is one-directional and limited.
- Mapping mistakes spread to many accounts quickly.
- Needs clear ownership on both sides.
| Trade-off | Leaning toward convenience | Leaning toward safety |
|---|---|---|
| Scope | Send everyone | Send named groups only |
| Token power | Broad administrator | Least-power service account |
| Attributes | Copy many | Copy few |
| Rollout | All at once | Waves with checks |
| Target administrators | Inherit from source | Assign locally with approval |
If you need two-way sync, complex transformation, or many orgs with a changing shape, a basic Org2Org setup may not be enough. Consider whether another approach, such as a central directory or a dedicated integration tool, is a better fit.
AA Simple Operating Model
A steady rhythm keeps the connection healthy year after year.
Design
Agree direction, scope, mapping, source of truth, and rollback on one page.
Build in the preview pair
Set up and test every scenario in the test orgs.
Roll out in waves
Administrators, pilot, department, everyone.
Watch
Alerts on failures, expiries, and unexpected changes.
Reconcile monthly
Compare the orgs and fix differences at the source.
Renew on schedule
Rotate tokens and certificates before they expire.
Review twice a year
Check scope, owners, and whether the connection is still needed.
flowchart LR
A["Design"] --> B["Build in preview pair"]
B --> C["Roll out in waves"]
C --> D["Watch"]
D --> E["Reconcile monthly"]
E --> F["Renew on schedule"]
F --> G["Review twice a year"]
G --> A
TThree Complete Walkthroughs
Three people, one connection, and a clear reason behind each outcome.
Meera, a new engineer in the regional office
Meera is hired by the regional company, which runs its own Okta org connected to the global hub. The global HR system creates her record, and the hub org creates her account and adds her to the “Regional Engineering” connection group. Within minutes, the regional org has a matching account with the right name, email, and department. On her first morning she opens the hub dashboard, clicks the regional tile, and lands signed in without typing another password. She joins the engineering group automatically and sees her team’s applications.
Arjun, a manager who moves departments
Arjun moves from engineering to product. HR updates his department. The hub org changes his profile and moves him between groups. The connection sends the new department and group membership to the regional org. He loses access to engineering tools and gains the product tools without anyone in the region doing anything. A week later, a regional administrator tries to fix his job title directly in the regional org. The next update from the hub changes it back, and the administrator learns that fixes must be made at the source.
Kavita, the administrator who looks after the connection
Kavita owns the connection. On the first of each month she runs a comparison between hub and region. It shows one person present in the region but not in the hub. She finds the account was created by hand during an emergency, removes it, and records the reason. Her calendar warns her that the signing certificate expires in ninety days. She creates the new certificate, loads it into the test pair, and schedules the switch for a quiet Thursday morning. She also checks that the token owner account is healthy and that two emergency administrators in the region can still sign in locally.
GGlossary in Plain Words
Quick reminders for the words used most often.
| Term | Plain meaning |
|---|---|
| Org | One Okta environment with its own address, people, and rules |
| Org2Org | An Okta integration that connects one org to another |
| Source org | The org that sends people and vouches for them at sign-in |
| Target org | The org that receives people and trusts the source |
| Hub and spoke | A design with one central org and several receiving orgs |
| Single sign-on | Signing in once and reaching other places without more prompts |
| SAML | A standard way of passing a signed identity note between systems |
| Identity provider | The system that checks who a person is and vouches for them |
| Service provider | The system that trusts the identity provider and lets the person in |
| Provisioning | Automatically creating, updating, and deactivating accounts |
| API token | A long secret code that lets one system manage another |
| Service account | A non-human account used by a connection |
| Attribute | One fact on a person’s profile, such as title or department |
| Mapping | The table linking source attributes to target attributes |
| Group push | Copying a group and its members to the other org |
| Source of truth | The place where a fact is allowed to be changed |
| Drift | The slow disagreement of two copies of the same data |
| Certificate | A digital document with a key used to sign and check notes |
| IdP-initiated sign-in | Sign-in that starts at the source org |
| SP-initiated sign-in | Sign-in that starts at the target org |
| Preview org | A test Okta environment for safe experiments |
| Break-glass administrator | An emergency account used only when normal sign-in fails |
FFrequently Asked Questions
SSummary and Key Takeaways
One org sends, one org trusts, and someone looks after the link.
Org2Org lets one Okta org send people and groups to another and vouch for them at sign-in. The source org holds the truth, the target org receives it, and a token and certificate hold the connection together. The best setups are small in scope, strict about who has power, careful about attributes, tested in a preview pair, rolled out in waves, and watched for expiries and failures. The worst setups give too much power to a token, let two orgs edit the same facts, or forget that keys expire.
Key Takeaways
- Org2Org connects a source org to a target org for two jobs: sign-in trust and provisioning of people and groups.
- Choose one source of truth for people and attributes, and make fixes there, because the basic setup mainly flows one way.
- Use a dedicated least-power service account for the API token, store it safely, and rotate it.
- Control scope with a single connection group, send only needed attributes, and keep administrator roles local and approved.
- Protect the source org’s sign-in strongly, because the target inherits its trust, and clear sessions in both orgs during incidents.
- Keep a keys-and-dates register for certificates and tokens, keep local emergency administrators, and alert on provisioning failures.
- Test in a preview pair, roll out in waves, reconcile regularly, and confirm exact Okta screens and options against current documentation.