Delegated Authentication in Okta
How Okta can hand the job of checking a password to your own company directory, so people sign in once through Okta while the password never leaves home.
Imagine a large office building with a security desk at the front. Visitors arrive and say who they are. The guard at the desk does not keep a list of secret passwords in a drawer. Instead, the guard picks up a phone, calls the company’s own records office, and asks, “Is this person’s secret word correct?” The records office answers yes or no, and the guard opens the door or keeps it shut.
That is the heart of delegated authentication in Okta. Okta is the friendly front desk that every application talks to. Your company’s directory, usually Microsoft Active Directory, is the records office that really knows the passwords. Okta delegates, which simply means “hands over,” the job of checking the password to that directory. People type their familiar work password, and the answer comes from the system the company already trusts.
This guide assumes you know nothing about any of this. We will explain each word the first time it appears, use everyday comparisons, and walk through how the pieces fit, what can go wrong, how to keep it safe, and how companies move away from it when the time comes.
WWhat Is Delegated Authentication?
In one sentence: Okta asks your own directory to check the password, instead of keeping and checking the password itself.
Let us start with the word authentication. It means proving that you are who you claim to be. When you type a username and a password, you are authenticating. When a phone app asks you to approve a sign-in, that is also authentication. The system that checks the proof is called the authenticator, and the proof is called a credential.
In a simple Okta setup, Okta stores a protected form of each person’s password and checks it directly. In a delegated setup, Okta does not hold the password it checks. It passes what the person typed, safely and over an encrypted connection, to a small program running inside the company network. That program asks the company’s directory whether the password is right and tells Okta the result.
Think of a bank branch that does not keep its own vault. When you ask for cash, the teller phones head office, which checks your account and says approved or declined. The branch looks like a normal bank to you, but the truth about your money lives somewhere else. Okta is the branch with the friendly counter. Your directory is head office.
Why anyone would want this
Many companies already have a directory with years of accounts, password rules, and security habits built around it. Employees already know their passwords. Auditors already know how to inspect the system. Rather than copy all of that into a new place, the company says, “Keep the passwords where they are. Let Okta consult them.”
Where the word shows up
In Okta’s own documentation, delegated authentication most often means the connection between Okta and an on-premises Active Directory (AD) or LDAP directory through a small helper called an agent. People also use the phrase loosely for related ideas, such as sending someone to another company’s sign-in page, or letting a network device check passwords through Okta. We will compare those neighbours in Chapter 3 so that you never mix them up.
Delegated authentication is about who checks the password. Single sign-on is about how many times you must type it. They solve different problems and usually work side by side.
BBuilding Blocks You Need First
A handful of ideas from the world of company sign-in systems will make the rest of this guide easy.
Directory
A central address book of people and machines, with their names, groups, and passwords. Like the staff list kept by a receptionist.
Active Directory (AD)
Microsoft’s directory, used by a huge share of companies to manage Windows computers and employee accounts.
LDAP
A standard language for asking a directory questions, such as “does this person exist, and is this password correct?” Many non-Microsoft directories speak it.
Domain Controller
The server that actually holds an Active Directory domain and answers sign-in questions. Companies run several for safety.
Identity Provider (IdP)
A service that vouches for who you are to other applications. Okta plays this role for your cloud and web apps.
Agent
A small program installed inside your network. It is the messenger between the Okta cloud and your private directory.
Source of truth
The one system whose data wins when systems disagree. In delegated setups, the directory is usually the source of truth for passwords.
Single Sign-On (SSO)
Sign in once, then open many applications without typing the password again, like a wristband at a theme park.
On-premises and cloud
On-premises (often shortened to on-prem) means computers that your company owns and keeps in its own buildings or private data centers. The cloud means computers owned by someone else, such as Okta, that you reach over the internet. Delegated authentication is a bridge between these two worlds, which is why it is so common in companies that are halfway through a move to the cloud. We call that mixed situation a hybrid environment.
A hybrid company is like a family that has moved to a new city but still keeps the old house for a while. Some things have moved, some have not, and you need a reliable road between the two homes. The agent is that road.
Two flavors of Okta
You may see references to the Okta Classic Engine and the newer Okta Identity Engine. They are two generations of the sign-in brain inside Okta. Delegated authentication to AD and LDAP is available in the world of agents on both, but menu names, policy screens, and some behaviors differ. Always confirm which engine your org uses, and read the matching page of Okta’s current documentation before you change anything.
DDelegated Authentication and Its Neighbours
Several ideas sound alike. Separating them now will save you hours of confusion later.
When a company wants people to sign in through Okta, it has to decide where the password is checked. There are a few common choices, and each one answers that question differently.
| Approach | Who checks the password? | Where does the password live? | Plain-English summary |
|---|---|---|---|
| Okta-mastered password | Okta | Stored securely by Okta | Okta is the vault and the guard |
| Delegated authentication | Your AD or LDAP directory, through an agent | Only in your directory | Okta asks head office every time |
| Password synchronization | Okta, using a copy kept in step with the directory | In both places | Two vaults kept identical |
| Desktop single sign-on | Your Windows domain, using the computer’s existing login | Only in your directory | No typing at all on a trusted office machine |
| Federation to another identity provider | A different sign-in service entirely | At that other service | Okta sends the person elsewhere to prove who they are |
Three lookalikes to keep apart
Delegated administration
Letting a regional manager manage only some users. It is about who may change settings, not about checking passwords.
RADIUS agent
A different helper that lets network devices such as VPN gateways ask Okta to check credentials. The direction is reversed: your equipment delegates to Okta.
Inbound federation
Okta trusts another company’s sign-in service and sends the person there. The other service performs the whole check, not just the password.
Desktop SSO
Uses the Windows login of an office computer so the person is signed in automatically. It often sits alongside delegated authentication.
If a colleague says “we use delegated authentication,” ask one clarifying question: “Delegated from what to what?” The answer tells you whether they mean Okta to AD, devices to Okta, or an outside sign-in provider. The advice for each is quite different.
How to choose
Pick delegated authentication when your directory must remain the only place passwords exist, perhaps because of company policy or regulation, and when you can run and protect the agents. Pick an Okta-mastered password when you are ready to let Okta own the credential and you want the fewest moving parts. Add Desktop SSO when most people work on domain-joined office machines and you want sign-in to feel invisible.
AArchitecture and Core Components
There are only a few moving parts. Once you can name them, you can reason about almost any problem.
The picture below shows a simplified setup. On the left is the person with a browser. In the middle is Okta in the cloud. On the right, inside the company network, are the agents, the domain controllers, and the directory itself. The most important detail is the direction of the arrows between the cloud and the agents: the agents reach out to Okta. Okta never reaches in to your network.
flowchart LR
U["Employee with Browser"] --> OK["Okta Cloud - Sign-in Page, Policies, MFA"]
subgraph Cloud["Okta Cloud"]
OK
Q["Secure Agent Channel"]
end
OK --> Q
subgraph Net["Company Network"]
A1["AD Agent One"]
A2["AD Agent Two"]
DC1["Domain Controller One"]
DC2["Domain Controller Two"]
AD[("Active Directory")]
end
A1 -- "Outbound HTTPS" --> Q
A2 -- "Outbound HTTPS" --> Q
A1 --> DC1
A2 --> DC2
DC1 --> AD
DC2 --> AD
The parts, one at a time
The Okta sign-in service
Shows the sign-in page, applies your rules, asks for extra proofs such as a phone approval, and finally issues the signal that opens your apps.
The agent channel
A secure waiting room in Okta where requests for your directory are left and where the agents pick them up.
The Okta AD Agent
A program installed on a Windows server that is joined to your domain. It collects requests from Okta and asks the domain controller to check the password. There is a similar LDAP Agent for other directories.
The service account
A special account the agent uses to read the directory. It should have only the permissions it needs, and no more.
Domain controllers
The servers that know the truth about passwords and groups. The agent talks to one of them to complete each check.
The Okta user record
For each person, Okta keeps a profile (name, email, department) imported from the directory, plus a note saying “check this person’s password with the directory.”
Why the arrows point outward
Security teams are very careful about opening holes in their firewall, which is the wall that decides what traffic may enter the company network. If Okta had to call into your network, you would have to open an inbound door and defend it from the whole internet. Instead, the agent makes ordinary outbound encrypted connections over the standard secure web port, which most firewalls already allow. The agent then waits for work. Think of a post office box: Okta drops a message in the box, and your agent, which keeps checking the box from inside, collects it.
The agent also does a second job: it imports user profiles and group memberships from the directory into Okta, so Okta knows who exists. Checking passwords and copying profiles are two separate duties of the same agent, and both matter.
HHow a Sign-In Works, Step by Step
Follow one employee, Priya, as she signs in on a Monday morning.
Priya opens her browser and goes to a company application. The application sends her to the Okta sign-in page, because Okta is the identity provider for that app. She types her work username and her normal work password. Here is what happens next, in order.
sequenceDiagram
participant P as Priya
participant O as Okta Cloud
participant G as AD Agent
participant D as Domain Controller
P->>O: Username and password over HTTPS
O->>O: Find Priya and see that her password is checked by the directory
O->>G: Verification request left in the secure channel
G->>D: Does this password match this account
D-->>G: Yes or no
G-->>O: Result over the outbound connection
O->>O: Apply policies and ask for a second proof if required
O-->>P: Signed in and sent to the application
Priya submits her credentials
Her browser sends the username and password to Okta over an encrypted connection. Nothing travels in plain text.
Okta finds her record
Okta locates her profile and sees that her password is not stored with Okta. It must be checked by the directory.
The request goes to an agent
Okta places a short-lived verification request in the secure channel. One of the agents, which is always listening from inside the network, picks it up.
The directory decides
The agent asks a domain controller whether the password matches. The directory applies its own rules, including whether the account is locked, disabled, or expired.
The answer returns
The agent sends back a yes or a no, plus a reason if the answer is no, such as an expired password or a locked account.
Okta finishes the job
If the answer is yes, Okta evaluates its own rules, asks for extra proof if the rules require it, and then signs Priya in to the application. If the answer is no, Okta shows a clear message.
What is different from a normal sign-in?
Only step three and step four. In a normal Okta-mastered setup, Okta would check the password itself and the trip to your network would never happen. The rest of Priya’s experience, including the sign-in page, the second proof, and the single sign-on to every other app, looks exactly the same. That is the whole point: the person sees no difference, while the company keeps passwords in the directory it trusts.
Because every sign-in makes a short round trip to your network, the health of your agents and domain controllers is now part of the health of your sign-in. Treat them with the same care as any system that people need every morning.
DData Flow: Profiles, Groups, and Who Is the Boss
Checking passwords is only half of the story. Okta also needs to know who exists, what their details are, and which teams they belong to.
Before anyone can sign in, Okta must have a record for them. In a delegated setup, those records usually come from the directory. The agent reads the list of people and groups and sends it to Okta in a process called an import. The first import copies everyone. After that, later imports copy only the changes, which is faster and lighter. Imports can run on a schedule, and an administrator can start one by hand.
flowchart TD
AD[("Active Directory")] --> AG["AD Agent"]
AG -- "Full import then incremental" --> IM["Okta Import Engine"]
IM --> MAP["Attribute Mapping"]
MAP --> UP["Okta Universal Directory"]
UP --> GR["Group Rules and Assignments"]
GR --> APPS["Applications"]
UP -. "Password check at sign-in" .-> AG
Attribute mapping
A directory describes a person with its own field names, such as a “given name” or a “department.” Okta has its own field names. Attribute mapping is the translation table between the two. For example, the directory’s mail field becomes Okta’s email field. You decide which fields to bring over and which direction they flow. Keep the list short: bring only what applications really need.
Profile mastering
When the same fact lives in two places, one of them must win. This is called mastering. If the directory masters a person’s department, then a change in the directory overwrites what is in Okta, and edits made in Okta do not stick. This keeps one version of the truth. Many companies choose to let the directory master the profile of everyone who signs in through delegated authentication, and allow only a few extra fields, such as a phone number for second-factor prompts, to be managed inside Okta.
Mastering is like deciding which copy of a school’s student list is the official one. If the office list says a student is in Class 5B, the teacher’s notebook must be corrected to match, not the other way around. Otherwise, two lists drift apart and nobody knows which to trust.
Groups as the glue
The agent can also import groups, which are named collections of people, such as “Finance Team.” Okta can then give an application to a whole group instead of to individuals. When someone joins “Finance Team” in the directory, the next import adds them to the group in Okta, and the finance applications appear on their home page automatically. When they leave the group, access disappears. This is how a directory-driven company keeps access tidy without a person clicking through hundreds of assignments.
Imports are not instant. If you add a new hire in the directory at nine in the morning, the person may not exist in Okta until the next import runs. Plan your onboarding steps around that delay, and use the manual import button when timing really matters.
TThe Password Lifecycle: Change, Reset, Expiry, and Lockout
Because the directory owns the password, the directory’s rules shape what happens when a password changes, expires, or fails too many times.
Whose rules apply?
In delegated authentication, the password rules that matter are the directory’s: how long a password must be, how often it must change, and how many wrong attempts lock the account. Okta’s own password policy settings, such as complexity and age, do not control a password that Okta does not keep. This surprises many administrators who spend hours tuning an Okta password policy and see no effect.
| Situation | What usually happens | What to remember |
|---|---|---|
| Normal sign-in | Agent asks the directory, which says yes or no | The directory is the judge |
| Wrong password repeated | The directory counts failures and may lock the account | Okta may also count failures under its own rules, so align both |
| Locked account | Sign-in fails even with the right password | Unlock it according to your process; check where the lock is held |
| Expired password | The person is asked to choose a new one, if your setup allows it | The new password must satisfy the directory’s rules |
| Voluntary change | The new password is passed through the agent into the directory | The agent’s account needs permission to change passwords |
| Forgotten password | A reset can be allowed, which again writes to the directory | Needs careful identity checks first |
Changing and resetting
When a person changes or resets a password through Okta, Okta cannot save it in its own vault, since the directory is the master. Instead, it passes the new password to the agent, and the agent asks the directory to apply it. For this to work, the service account used by the agent must be allowed to reset passwords for the accounts involved. Giving that permission is a serious decision, so limit it to only the groups of people who need it.
Before you let people reset their own passwords, require a strong second proof such as a phone approval or a security key. A reset flow that relies only on easy-to-guess personal questions becomes the weakest door in the building.
Lockouts: the hidden trap
Imagine that a stranger on the internet types random passwords into your Okta sign-in page for Priya’s account. Each wrong guess is sent to the directory. After enough guesses, the directory locks Priya’s account. Priya, who did nothing wrong, cannot sign in to anything. This is a quiet form of attack called a lockout attack, and it is a real risk for any setup where the sign-in page forwards guesses to a directory with a strict lockout rule.
You can reduce this risk by using Okta’s tools that recognize suspicious sign-in traffic, by limiting where sign-ins may come from, and by choosing lockout settings that slow attackers without punishing staff. We cover these protections again in the security chapter.
Everyday example
A retail company sets its directory to lock accounts after five wrong attempts. During a holiday sale, a bot tries common passwords against many employees through the Okta page, and dozens of staff are locked out before the store opens. The company then adds network location rules and Okta’s threat detection, and raises the lockout threshold slightly, so ordinary typing mistakes are forgiven while the bot is stopped.
MMFA and Policies on Top of Delegation
Delegation replaces only the password step. Everything else Okta does still works around it.
Multi-factor authentication, or MFA, means proving who you are in more than one way, such as a password plus an approval on your phone. In a delegated setup, the password is checked by the directory, but the second proof is handled entirely by Okta. The directory does not need to know anything about phone apps or security keys. This is a big advantage: you can add modern second proofs to an older directory without changing the directory at all.
Picture an airport. The passport desk checks your passport (that is the directory checking the password). A second desk checks your boarding pass and sometimes scans your face (that is Okta’s second proof). The two desks do not need to share equipment. They each do one job and together make a stronger gate.
What Okta’s rules can still do
Require a second proof
Always, only from new devices, only from outside the office network, or only for sensitive applications.
Restrict by location
Allow or block sign-ins from certain countries or networks, using named network zones.
Control sessions
Decide how long a person stays signed in and how soon they must prove themselves again.
Protect individual apps
Ask for stronger proof when someone opens payroll than when they open the cafeteria menu.
Desktop single sign-on as a companion
Many companies pair delegated authentication with Desktop SSO. When a person is on an office computer that is already signed in to the Windows domain, Okta can recognize this and skip the password prompt entirely. That means the delegated password check is used mostly when people are working away from the office, on personal devices, or on the road. Together they give a smooth day for the person and a strong gate for the company.
Menu names and exact options for these policies differ between the Classic Engine and the Identity Engine. Use the descriptions here as the idea, and check the current Okta documentation for the exact screens in your org.
HHigh Availability and Failure Scenarios
Delegation adds a trip to your network on every sign-in. Make that trip dependable.
High availability means designing a system so that no single broken part stops the whole service. For delegated authentication, the parts that can break are the agents, the servers they run on, the domain controllers, and the network path to Okta. If any one of these fails with no backup, people may be unable to sign in.
A hospital has more than one power source. If the mains fail, a generator starts. If that fails, batteries take over. Nobody builds a hospital with one wire from one power station. Your sign-in path deserves the same thinking, because on a Monday morning, thousands of people depend on it at once.
Run more than one agent
Okta recommends running at least two agents for each directory domain, on different servers, and many large companies run more. Okta spreads requests across the agents that are online, and when one disappears, the others carry on. Place the servers in different racks or even different sites, so one power cut or network fault cannot remove them all together.
Make the directory side resilient
Each agent talks to a domain controller. A good setup has several domain controllers in every site, so if one is down for repair, the agent finds another. Keep agent servers close, in network terms, to their domain controllers. A slow link between them turns every sign-in into a slow sign-in.
flowchart TD
S["Sign-in needs a password check"] --> A{"Any agent online?"}
A -- No --> F1["Directory sign-in fails for everyone"]
F1 --> F2["Use break-glass admin with an Okta-held password"]
A -- Yes --> B{"Can the agent reach a domain controller?"}
B -- No --> C["Agent tries another domain controller"]
C --> D{"Another controller reachable?"}
D -- No --> F1
D -- Yes --> PC["Password checked"]
B -- Yes --> PC
PC --> R["Continue with policies and MFA"]
Failure scenarios and recovery
| What fails | What people see | Recovery idea |
|---|---|---|
| One agent server | Usually nothing, other agents take over | Repair or rebuild; reinstall and re-register if needed |
| All agents for a domain | Directory-mastered users cannot sign in | Restore an agent first; use emergency admin access to manage Okta meanwhile |
| One domain controller | Slight delay at most | Agent finds another controller |
| Network link to Okta from the office | Agents cannot receive requests | Fix the firewall or internet path; check the proxy settings |
| Expired or changed service account password | Imports and some actions fail | Update the account and agent settings; keep a renewal calendar |
| Agent software out of date | Odd behavior or connection trouble | Keep automatic updates on, and keep a test agent |
If every agent is offline, a person’s second proof cannot rescue them, because the password step comes first. Always keep at least one emergency administrator account whose password is held by Okta itself, protected by a strong second proof, stored safely, and tested regularly. Without it, you may be unable to log in to fix the very problem that has locked you out.
PPerformance and Scaling
A sign-in should feel quick. Here is what makes it slower or faster, and how to grow without pain.
Every delegated sign-in contains a round trip: Okta to the channel, the channel to the agent, the agent to a domain controller, and back. Most of this takes a fraction of a second when the network is healthy. The usual causes of slow sign-ins are a far-away agent, an overloaded agent server, a struggling domain controller, or a congested internet link from the office.
The Monday morning rush
Sign-ins are not spread evenly. Thousands of people arrive between eight and ten on Monday. Think of a coffee shop at the same hour: one barista is fine at three in the afternoon, and hopeless at 8:30 in the morning. Add agents so the busiest minute stays comfortable, and watch how requests are shared among them.
Place agents near controllers
Keep the agent and its domain controller in the same site. Short distance, short wait.
Size for the peak, not the average
Plan for the busiest minute of the busiest day, plus room for one agent to be down.
Use incremental imports
After the first full import, copy only changes. Schedule heavy full imports for quiet hours.
Import only who you need
Choose the organizational units and groups that matter. A smaller import is faster and tidier.
Many domains and forests
Large companies, especially after mergers, may have several domains or even several separate directory forests. Each domain generally needs its own agents and its own connection in Okta. This multiplies the work: more agents, more service accounts, more imports, and more places for a rule to be inconsistent. A tidy naming scheme and a shared checklist for every domain are worth their weight in gold.
Test your setup with a realistic crowd before you roll it out. Ask a few hundred volunteers to sign in at the same time, and watch for slow responses. It is far better to find the weak point on a test morning than on launch day.
SSecurity: What Is Safe and What Needs Care
Delegation reduces some risks and creates others. A clear view of both helps you build it safely.
What delegation does well
First, the password stays in the directory. Okta does not keep a copy for people whose password check is delegated, so there is no second vault to protect and nothing in Okta’s storage that could be stolen. Second, the agents make only outbound connections, so you do not need to open a door in your firewall for the internet to knock on. Third, the connections are encrypted, so nobody listening on the network can read a password in transit.
What still needs care
The password passes through Okta
The person types it on Okta’s page, and Okta forwards it to your agent. Okta protects this path, but you are trusting Okta’s service for those moments. Many security teams accept this and add strong second proofs on top.
Agent servers are sensitive
They sit inside your network next to the directory. Treat them like important servers: patch them, limit who can log in to them, and monitor them.
The service account
It can read, and sometimes reset, passwords. Give it the smallest permission set and the narrowest scope, and use a long random password kept in a vault.
Password spraying and lockouts
Attackers try common passwords against many accounts, and in doing so can lock real people out. Use threat detection, location rules, and sensible lockout settings.
Limit outbound traffic
Allow agent servers to reach only Okta’s addresses and your own directory, rather than the open internet.
Protect emergency accounts
Your break-glass admin needs the strongest second proof you have, plus an alert whenever it is used.
Never install an agent on a laptop, a shared server, or a machine that many people can log in to. Agents belong on dedicated, hardened servers that only a small named team can reach.
The principle of least privilege
The idea of least privilege is simple: give every account only the access it needs for its job and nothing more. A lock repairer gets the key to the lock room, not the master key to the building. Apply this to the agent’s service account, to the Okta administrators who manage the integration, and to the people allowed to reset other people’s passwords.
IInside the Agent: What the Little Messenger Really Does
The agent is the most important piece of equipment in the whole design, so it is worth understanding how it behaves from the inside.
An agent is an ordinary program that runs as a background service on a server. You download it from your Okta admin area, install it on a Windows server that belongs to your domain (for the Active Directory version), and register it with your Okta org by signing in with an administrator account. Registration is like introducing a new employee to head office: from then on, Okta knows that this particular messenger is allowed to speak for your directory.
The life of an agent
Install and register
The installer asks for the domain, a service account, and a one-time approval from an Okta administrator. After approval, Okta hands the agent a secure identity of its own.
Open the outbound connection
The agent reaches out to Okta over the standard encrypted web port and keeps that connection ready. It also uses any web proxy your company requires, if you configure one.
Wait for work
The agent sits quietly until Okta leaves a task for it: check a password, run an import, or apply a password change.
Do the task against the directory
The agent finds a nearby domain controller, performs the check or the read, and gathers the result.
Report back and forget
The agent sends the result to Okta and does not keep the password it just handled. It also writes technical notes to its own local log for troubleshooting.
Stay current
Okta can update agents automatically so that security fixes arrive without a person remembering to install them. Many teams keep this on and watch agent versions in the admin area.
The agent is like a reliable courier who works inside a secure building. The courier never receives visitors at the front gate. Instead, the courier walks out to the post office every few moments, collects the day’s requests, delivers them to the right internal office, waits for the answer, and carries it back. At no point does the post office need a key to the building.
What the agent needs from you
| Need | Why it needs it | Common trap |
|---|---|---|
| A dedicated Windows server joined to the domain | So it can talk to the directory as a trusted member | Sharing it with other busy applications |
| Outbound access to Okta on the secure web port | So it can collect tasks and return results | A proxy or firewall rule that quietly blocks it after a change |
| A service account with the right permissions | So it can read profiles and, if allowed, change passwords | Giving far too much power or forgetting its expiry |
| Accurate server time | Secure connections and logs depend on the clock | A clock that drifts after a virtual machine pause |
| Enough memory and processor for the busy hour | So requests do not queue up | Sizing for the quiet afternoon rather than the Monday morning |
| A local log folder with space | So you have evidence when something goes wrong | Logs that fill a disk and stop the service |
How it picks a domain controller
The agent does not usually hard-wire itself to one domain controller. It asks the domain’s own naming service which controllers are available, preferring those in the same site. A site, in directory language, is a group of well-connected servers, typically one office or data center. Preferring a nearby controller keeps sign-ins quick and keeps traffic off long, expensive network links. If the nearby controller does not answer, the agent moves on to another. For this reason, your directory team’s habit of keeping sites and subnets correctly defined has a direct effect on how healthy your Okta sign-ins feel.
Handling many requests at once
One agent can handle many people at the same time, because each check is short. But the work is not free. Each check uses a little processor time and a little network capacity, and each wait for the directory holds a request open. When a crowd arrives, requests line up. This is why the advice to run several agents is not just about surviving a failure. It is also how you share the load, so no one messenger is carrying all the mail on the busiest morning.
Keep a short “agent card” for each server: its name, the domain it serves, the service account it uses, its installed version, who owns it, and when it was last patched. When something breaks at seven in the morning, nobody wants to be hunting for this information.
PPlanning and Rolling Out Delegated Authentication
A calm rollout is mostly good preparation. Here is a path that avoids the surprises most teams meet.
Moving thousands of people onto a new sign-in path is as much about people as about technology. The goal is that on launch day, almost nobody notices anything except that their apps are easier to reach. That outcome comes from careful planning in four stages: understand, design, pilot, and launch.
Stage one: understand what you have
Begin with a simple inventory. List every directory domain, how many people are in each, which servers could host agents, and which applications people use daily. Ask the directory team how passwords are managed today: their strength rules, expiry time, and lockout settings. Ask the security team what second proofs they want. Ask the help desk what questions they hear most. These conversations take days, and they prevent months of rework.
Who is in scope?
All employees, or only some groups first? Contractors and service accounts need their own decision.
Which directories?
One domain or many? Active Directory only, or LDAP directories too?
What is the uptime goal?
This sets how many agents and how much redundancy you need.
What are the password rules?
Because the directory owns them, confirm they match your security policy before launch.
How will people get help?
Decide who unlocks accounts, who resets passwords, and how those people prove their own identity.
What is the rollback plan?
If the launch goes badly, how do you return to the old way quickly and safely?
Stage two: design the pieces
Decide the number and placement of agents, the shape of the service account and its permissions, the attribute mappings, the group imports, and the rules for second proofs and locations. Write all of this on a single page that both the Okta team and the directory team sign. A shared page prevents the common fight where each team assumes the other one handles lockout rules.
Stage three: pilot
Choose a friendly group of perhaps fifty people from different departments and locations. Include a few who travel and a few who work on unusual devices. Run the pilot long enough to include at least one password expiry and one lockout, since those are the moments when problems appear. Collect feedback, count the help desk calls, and fix what you find.
flowchart LR
U1["Understand - Inventory and Policies"] --> D1["Design - Agents, Accounts, Mappings"]
D1 --> P1["Pilot - Small Friendly Group"]
P1 --> W1["Waves - Department by Department"]
W1 --> L1["Launch - Everyone"]
L1 --> R1["Review - Logs and Feedback"]
P1 -- "Problems found" --> D1
Stage four: launch in waves
Roll out one department or location at a time. After each wave, look at the sign-in success rate, the slowest sign-ins, and the help desk tickets before you start the next. Announce changes in plain words, explain what will look different (usually very little), and tell people what to do if they get stuck. Schedule the largest waves for midweek mornings when the whole support team is present, not for a Friday afternoon.
The most common rollout failure is a wave that is much larger than the agents were sized for. If you plan to move two thousand people in one morning, test with that many sign-ins first, or break the wave into smaller groups an hour apart.
A launch-day checklist
| Item | Owner | Done when |
|---|---|---|
| At least two agents online per domain | Platform team | Admin area shows all agents connected |
| Break-glass administrator tested | Security team | Sign-in works and alarm fires |
| Help desk briefed with scripts | Support lead | Team has read the common questions |
| Monitoring and alerts live | Operations | A test alert reaches the on-call person |
| Rollback steps written and rehearsed | Platform team | A dry run has been completed |
| Communication sent to staff | Communications | Message delivered a few days before launch |
SSpecial Situations You Will Meet in Real Life
Textbook diagrams are tidy. Real companies are not. These are the awkward cases that show up sooner or later.
Name changes and renamed accounts
When someone marries, changes their name, or moves departments, their sign-in name in the directory may change. Okta identifies the person by an internal number, not by the visible name, but the username they type must still match what the directory expects. After a rename, run an import so Okta learns the new details, and tell the person which username to use. Plan this process before it happens to the first executive.
Disabled and departing accounts
When a person leaves the company, the directory team disables the account. Because the directory answers every password check, the person is immediately unable to pass the password step. But their Okta record, with its apps and any existing sessions, may still exist until the next import and cleanup. Combine the directory action with an Okta action that ends the person’s current sessions and removes assignments. The two systems should agree within minutes, not days.
Disabling an account in the directory is like cancelling a person’s building pass at the records office. The guard at the front desk will refuse them the next time. But if they are already inside the building with a visitor badge, you also need someone to walk the halls and collect that badge. Ending sessions in Okta is that walk through the halls.
Contractors, partners, and shared accounts
Not everyone belongs in your directory. A short-term contractor may have no directory account at all. For them, many companies create accounts directly in Okta with Okta-held passwords, while employees keep the delegated path. Shared accounts, where several people use the same login, are best avoided entirely, because neither the directory nor Okta can tell who did what.
Phones, tablets, and unmanaged devices
Mobile devices cannot use Windows-based convenience features such as Desktop SSO, so people on phones will typically type the delegated password or use a phone-based approval. Make sure the second-proof experience is pleasant on a small screen, and that password rules allow a reasonable way to type on a phone keyboard.
Applications that bring their own login
Some older applications cannot use Okta and still ask for a username and password of their own. If those applications check against the directory, they continue to work as before, and the delegated password remains the same one. If they use a separate password, you may want to bring them under Okta, or at least include them in your lockout and monitoring plans.
Network devices and VPNs
A virtual private network gateway often needs to check a person’s identity too. Here the arrow turns around: the device asks Okta, using a protocol called RADIUS, and Okta may in turn delegate the password to the directory. Treat this as a separate project with its own agents, since a failure in this path can stop people from working remotely.
People in several domains
In a company with multiple domains, one person might have accounts in two of them, for example after an acquisition. Decide which account is the primary identity for Okta, and avoid creating two separate Okta users for one human. Otherwise, people will see duplicate tiles and approvals will go to the wrong place.
Everyday example
A consulting firm absorbs a smaller company. Fifty employees from the smaller firm arrive with accounts in a second domain. The Okta team connects that domain with its own agents, maps matching email addresses so each person has one Okta identity, and chooses which directory is the master for each person’s password. Within a few weeks, all fifty sign in through the same page as everyone else.
Many of these cases are rare individually, and common in total. In any company of meaningful size, a handful of them will happen every month. Keep a simple, searchable page of “how we handled it last time.”
TA Troubleshooting Playbook
When sign-in fails, panic helps nobody. A calm, step-by-step approach finds most problems quickly.
Troubleshooting a delegated sign-in is like tracing a leak in a pipe: you follow the water from the tap back toward its source. Start at the person, then move to Okta, then to the agent, then to the directory. At each stop, ask, “Did the request arrive here, and what did this stage say?”
Ask what the person sees
Is there an error message? Which application? From where and on what device? A screenshot saves ten minutes of questions.
Look in the Okta System Log
Search for the person’s name around the time of the failure. The reason code usually says whether it was a bad password, a locked account, an expired password, or a problem reaching the agent.
Check the agent status
Are agents connected and recently active? A recent disconnection often explains a sudden burst of failures.
Check the directory
Is the account disabled, locked, or expired? Did someone change the username? Is the domain controller healthy?
Read the agent’s local log
If Okta says the agent did not respond, the local log on the agent server will show whether the request even arrived.
Write down what you learned
Add the symptom and cure to your team’s notes so the next person finds the answer in minutes.
Common symptoms and likely causes
| Symptom | Likely cause | First check |
|---|---|---|
| Everyone fails at once | All agents offline, or a network problem to Okta | Agent status and the firewall or proxy path |
| One person fails, others fine | Locked, disabled, or expired account, or a typing problem | The account status in the directory |
| Sign-in works but is slow | Overloaded agent or a distant domain controller | Agent load and the site of the controller used |
| New hire cannot sign in | Not yet imported into Okta | Run a manual import and check for errors |
| Password change fails | Service account lacks reset permission, or the new password breaks the directory’s rules | The permission and the rule text shown to the person |
| Many accounts lock suddenly | Spraying attack, or a stale saved password on many devices | The source addresses in the System Log |
| Imports stop updating | Service account expired, or an agent upgrade is stuck | The import status page and agent version |
| Profile values keep reverting | Two systems mastering the same field | Attribute mapping and mastering settings |
A frequent hidden culprit is a phone or laptop that still has an old saved password. The device keeps retrying in the background with the wrong password and locks the account over and over. If one person keeps getting locked out for no obvious reason, check their devices before you blame the system.
GGovernance, Compliance, and Audit
Auditors do not ask only whether the system works. They ask who is in charge, who can change it, and how you know.
Governance means the habits and rules by which an organization keeps important systems under control. For delegated authentication, it covers who may change the settings, who reviews those changes, and how you show that the system behaves as promised. A system without governance may work today and still fail an audit tomorrow.
Questions an auditor is likely to ask
Where are passwords stored?
Your answer is simple and strong: only in the company directory. You can show how Okta forwards the check to an agent.
Who can change the integration?
List the named administrators, show their roles, and show that changes are logged.
How is access removed?
Explain how a departure in the directory leads to a disabled sign-in and ended sessions in Okta.
How do you detect misuse?
Show alerts on repeated failures, unusual locations, and emergency account use.
What is your recovery plan?
Show the agent redundancy, the break-glass process, and the date of your last drill.
How long do you keep logs?
Show that you copy Okta logs and agent logs to a long-term store for the period your rules require.
Separation of duties
The principle of separation of duties says that no single person should be able to carry out and approve a sensitive change alone. A common arrangement is that the directory team controls password rules, the Okta team controls the integration settings, and the security team reviews changes to both. If one person holds all three powers, a mistake or a bad decision has no second pair of eyes to catch it.
Change management
Every change to agents, the service account, attribute mappings, and policies should follow a simple routine: write what you intend to change and why, have someone else review it, make the change at a quiet time, and check the result in the logs. Keep the record. When a surprise appears three weeks later, this record is how you find the cause.
Change management is like the logbook that airplane mechanics keep. Every part replaced, every adjustment made, with a name and a date. Nobody enjoys writing in it, and everybody is grateful for it on the day something rattles that did not rattle yesterday.
Privacy and data minimization
Directories often hold more personal information than Okta needs. Bring over only the fields that applications truly require. A phone number may be needed for a second proof, but a home address probably is not. Smaller imports reduce risk, simplify privacy reviews, and make the system easier to explain.
Regulations and company rules differ by country and industry. This guide explains concepts, not legal requirements. Ask your compliance and legal teams which standards apply to your organization before you finalize design choices such as where logs are stored and for how long.
OThe Operating Model: Who Runs This Every Day?
Technology does not run itself. A clear owner for every part keeps small issues from becoming big ones.
Delegated authentication sits between two teams who often do not talk much: the people who run the directory and the people who run Okta. Without a clear plan, each team can assume the other is watching a problem, and nobody is. A good operating model puts a name next to every responsibility.
| Responsibility | Typical owner | Rhythm |
|---|---|---|
| Agent servers: patching, capacity, health | Infrastructure or platform team | Monthly patching, constant health checks |
| Directory rules: password strength and lockout | Directory team | Review twice a year |
| Okta policies: second proofs, locations, sessions | Identity or security team | Review quarterly |
| Service account renewal | Directory team with identity team | Calendar reminders well before expiry |
| Help desk unlock and reset steps | Support team | Training for each new member |
| Monitoring and on-call | Operations team | Always on, with a weekly review of alerts |
| Drills and recovery tests | Identity and operations together | Once or twice a year |
Keeping up with change
Okta, Windows, and the directory itself all change over time. New versions of agents arrive, Windows servers reach the end of their supported life, and Okta adds and renames features. Subscribe to Okta’s release notes, plan a regular review of what has changed, and test updates in a non-production environment first. A small test org with a test agent and a handful of test accounts is a cheap way to catch problems before they reach everyone.
Thinking about cost honestly
Delegated authentication is not free to run. The cost lies not in the Okta feature itself but in the servers, the licenses for them, the time of the people who maintain them, and the hours spent on incidents. When you compare delegation with an Okta-held password, count these hidden costs. In some companies delegation is cheaper because the directory already exists and must be run anyway. In others it is more expensive because it adds servers and work that Okta would otherwise absorb.
Everyday example
A logistics company counted its true cost and found that four agent servers, their patching, and on-call time added up to roughly a day of staff work each week. After a review, they decided to keep delegation for office staff, where the directory remains central, and to give warehouse workers Okta-held passwords with phone approval, which removed a large block of sign-in traffic from the agents.
GA Plain-English Glossary
Keep this page handy. Every term used in this guide is explained here in one or two lines.
| Term | Meaning in everyday words |
|---|---|
| Authentication | Proving you are who you say you are |
| Authorization | Deciding what you are allowed to do once you are proven |
| Credential | The thing you present as proof, such as a password |
| Delegated authentication | Handing the password check to another system, here your own directory |
| Directory | A central address book of people and their details |
| Active Directory | Microsoft’s widely used company directory |
| LDAP | A common language for talking to directories |
| Domain controller | A server that holds a directory domain and answers questions about it |
| Agent | A small program inside your network that carries messages for Okta |
| Service account | A non-human account used by a program |
| Import | Copying people and groups from the directory into Okta |
| Mastering | Deciding which system’s value wins when two disagree |
| Attribute mapping | The translation table between directory fields and Okta fields |
| Multi-factor authentication | Using more than one kind of proof, such as password plus phone approval |
| Single sign-on | Signing in once to reach many applications |
| Desktop SSO | Automatic sign-in on a trusted office computer |
| Network zone | A named set of locations or addresses used in rules |
| Lockout | Blocking an account after too many wrong passwords |
| Password spraying | Trying a few common passwords against many accounts |
| High availability | Designing so that one broken part does not stop the service |
| Break-glass account | A sealed emergency administrator account for when normal access fails |
| Least privilege | Giving only the access needed for the job |
| System Log | Okta’s diary of sign-ins and changes |
AA Day in the Life: Three Walkthroughs
Concepts stick best when you watch them move. Here are three ordinary days at a company that uses delegated authentication.
Walkthrough one: a new hire arrives
On Thursday afternoon, the people team finishes the paperwork for a new analyst named Meera, who starts on Monday. The directory team creates her account in the company directory, places her in the groups for the analytics team, and sets a temporary password that must be changed at first sign-in. Nothing has happened in Okta yet.
The import picks her up
At the next scheduled import, the agent reads her new account and her group memberships and sends them to Okta. Okta creates her record, translating field names through the attribute mapping.
Groups grant her applications
Because she belongs to the analytics group, Okta assigns the applications that group receives. Her home page will show the right tiles on day one.
Monday morning sign-in
Meera types her username and temporary password. Okta sends the check to an agent, and the directory says the password is correct but must be changed.
She chooses a new password
The new password must satisfy the directory’s rules. Okta passes it through the agent, the directory applies it, and Meera is asked to enroll a phone for approvals.
She is in
From now on, one password and one phone approval open all her applications through single sign-on.
Walkthrough two: a forgotten password
On a rainy Tuesday, Arjun returns from a long holiday and cannot remember his password. He clicks the “need help signing in” link on the Okta page. Because the company has allowed self-service reset, Okta first asks for a strong second proof: an approval on his enrolled phone. Once he passes that check, Okta lets him choose a new password.
Okta cannot save the new password itself, since the directory is the master. It sends the new password through the agent. The agent uses the service account, which has been given permission to reset passwords for staff accounts only. The directory checks that the new password meets its rules and applies it. The whole thing takes about a minute, and the help desk never hears about it. If the directory rejects the password for being too similar to an old one, Arjun sees a clear message and tries again.
Show the directory’s password rules on the screen where people choose a new password. People who see the rules in advance make fewer failed attempts and call the help desk less.
Walkthrough three: the agent outage
One Monday at 8:40, a power fault at one office takes down a server rack. One of the three agents was on that rack. The other two carry on, and the monitoring tool raises an alert: “Agent count is below target.” The on-call engineer sees that sign-ins are still succeeding and that the slowest sign-ins are a little slower than usual, because two agents now share the load.
flowchart TD
A1["Alert - Agent count below target"] --> A2["Engineer checks sign-in success and speed"]
A2 --> A3{"Sign-ins still healthy?"}
A3 -- Yes --> A4["Restore the failed agent at a calm pace"]
A3 -- No --> A5["Start an emergency agent on a spare server"]
A5 --> A4
A4 --> A6["Confirm all agents are connected"]
A6 --> A7["Write a short note on cause and fix"]
Because the company followed the advice in this guide, the problem became a quiet repair job rather than a company-wide emergency. The engineer starts a spare agent on another server, confirms that all agents are connected again by mid-morning, and writes a short note describing the cause and the fix. By afternoon, the power fault is repaired and the original rack is restored.
What these stories teach
Imports set the pace for new people
A person appears in Okta only after the import, so plan start dates with that delay in mind.
Self-service needs a strong second proof
Resets that write to the directory are powerful, and deserve a careful identity check first.
Redundancy turns disasters into chores
With several agents and good alerts, losing a server is an ordinary repair rather than a crisis.
Write it down
Each incident teaches something. A short note today saves a long search next year.
MMonitoring, Logging, and Metrics
You cannot fix what you cannot see. Good monitoring tells you about trouble before your employees do.
Okta keeps a diary called the System Log, which records sign-ins, failures, password changes, lockouts, and administrative actions. Sign-ins checked through an AD or LDAP agent leave their own kind of entry, so you can tell them apart from sign-ins checked inside Okta. Each entry says who, what, when, from where, and with what result. When someone calls the help desk saying “I cannot sign in,” the log is the first place to look.
Three layers of visibility
Okta’s System Log
Shows what happened for each sign-in and each change. Copy it into your own monitoring platform if you need to keep it longer than Okta does.
Agent status in the Admin Console
Shows whether each agent is connected and when it last checked in. A disconnected agent should trigger a response quickly.
Your own server monitoring
Watch agent servers for processor load, memory, disk space, and that the agent service is running, just as you would for any important server.
Numbers worth tracking
| Measure | Why it matters | Warning sign |
|---|---|---|
| Sign-in success rate | The single best picture of health | A sudden drop at a busy hour |
| Sign-in time | Shows slowness that people feel | Slowest sign-ins getting slower |
| Number of agents online | Tells you how much safety margin you have | Fewer than two for any domain |
| Failed attempts per account | Reveals spraying and lockout attacks | Many accounts failing from one source |
| Locked-out accounts | Measures harm to real people | A spike with no clear cause |
| Import duration and errors | Shows if profile data is staying fresh | Imports that take longer each day or fail |
| Service account expiry date | Prevents a silent break | Less than a month left |
Alerts that help
Raise alerts on symptoms people care about. Notify the on-call team if an agent is offline for more than a few minutes, if the sign-in success rate falls sharply, if many accounts lock in a short time, or if the emergency administrator account is used. Write a short guide for each alert that says what it means and what to check first.
Run a fire drill once or twice a year. Switch off one agent on purpose during a quiet hour and confirm that sign-ins continue and that your alert fires. A plan you have never tested is only a hope.
DDesign Patterns and Anti-Patterns
Teams that have done this many times tend to follow the same few habits, and avoid the same few traps.
Agent pool per domain
Two or more agents for each directory domain, on separate servers and, where possible, separate sites.
Directory as the master
One system is the official record of profile and password. Everything else follows it.
Layered defense
Directory password plus Okta second proof, location rules, and threat detection.
Break-glass account
A sealed emergency administrator whose password lives in Okta and whose use triggers an alarm.
Staged rollout
Pilot with a small group, then a department, then everyone. Each stage teaches something.
Documented runbooks
Written steps for rebuilding an agent, rotating the service account, and handling a mass lockout.
The break-glass account is like the fire axe behind glass in a hallway. You hope never to use it. When something goes badly wrong, you will be very glad it is there, and very glad that someone checked last month that the glass was intact and the axe was sharp.
Anti-patterns to avoid
What it looks like
A single agent for the whole company, installed on an old server that also runs three other things.
Why it hurts
One reboot, one crash, or one forgotten patch window and nobody can sign in. The server is also a bigger target because so much runs on it.
Do this instead
Use at least two dedicated agent servers per domain, in different failure zones, with a rolling maintenance plan so that only one is touched at a time.
What it looks like
The agent’s service account is a domain administrator, “just to make it work.”
Why it hurts
If the account or the agent server is ever compromised, the attacker holds the keys to the whole directory.
Do this instead
Create a dedicated account with read access to the needed organizational units, and add password-reset permission only where self-service reset is truly required.
What it looks like
Administrators tune Okta password policies for delegated users and assume those rules protect them.
Why it hurts
The directory’s rules are the ones in force, so the real strength of passwords is unchanged and nobody notices until an audit.
Do this instead
Set password strength and lockout rules in the directory, and use Okta’s policies for the second proof, location, and session rules.
What it looks like
No emergency administrator exists, because “everyone is delegated.”
Why it hurts
When the agents go offline, nobody can log in to Okta to repair or reconfigure anything.
Do this instead
Keep a small number of tightly guarded Okta-password administrators, test them on a schedule, and alert on their use.
BBest Practices and Common Mistakes
A quick checklist for a smooth project, followed by the errors that appear again and again.
Do
- Install at least two agents per domain on separate servers.
- Use a dedicated, least-privilege service account.
- Keep agent software and servers patched.
- Add a strong second proof on top of the directory password.
- Align lockout rules between the directory and Okta.
- Keep and test a break-glass administrator.
- Pilot with a small group before the full rollout.
- Write down your runbooks and practice them.
Do not
- Run one agent on a shared, neglected server.
- Make the service account a domain administrator.
- Assume Okta password policies govern delegated users.
- Open inbound firewall holes for the agent.
- Import everything in the directory “just in case.”
- Forget the service account’s expiry date.
- Skip testing during the busiest sign-in hour.
- Leave the directory and Okta fighting over the same profile field.
Mistakes that appear again and again
| Mistake | What happens | Fix |
|---|---|---|
| Only one agent | Any outage stops sign-in | Add a second and third agent |
| Mismatched lockout settings | People are locked in one place but not the other, and unlock steps confuse the help desk | Agree on one policy and document the unlock process |
| Strict lockout and no threat detection | Bots lock real employees out | Add detection and location rules, review the threshold |
| Expired service account password | Imports and resets silently fail | Use a long-lived managed secret and a renewal reminder |
| Profile field mastered in two places | Values flip back and forth after each import | Decide which system wins for each field |
| Forgetting proxy and firewall details | Agent cannot reach Okta after a network change | Record required destinations and test after any change |
RReal-World Usage Patterns
Here are typical situations where delegated authentication earns its place, described as everyday scenarios.
1. The hybrid enterprise on its way to the cloud
A manufacturing company has twenty thousand employees, a long-established Active Directory, and a growing list of cloud applications such as Microsoft 365, Salesforce, and Workday. Delegated authentication lets everyone keep their existing password while they gain single sign-on to the cloud apps, and the directory team keeps full control of password rules.
2. A regulated bank with strict rules
A bank’s policy says passwords may exist only in its own hardened directory. Delegation satisfies that rule: Okta asks the directory each time, never keeps the password, and adds a hardware-key second proof for high-risk systems. Auditors can follow the story easily.
3. A merger with two directories
Two companies join and each has its own directory. Rather than merging them overnight, the new company connects both to one Okta org. Employees from either side sign in with the password they already have, while applications see one unified list of people. Over months the two directories are consolidated at a calmer pace.
4. A university with student and staff directories
A university keeps staff in Active Directory and runs a separate LDAP directory for student accounts. Two kinds of agents connect each to Okta. Students and staff reach their portals through the same sign-in page, and the right directory answers for each person.
5. Offices with Windows desktops
A professional-services firm pairs delegated authentication with Desktop SSO. In the office, people open their laptop and the apps simply work. At home, they type their password once, the directory checks it, and a phone approval completes the sign-in.
MMoving Away From Delegation Later
Many companies use delegation as a stepping stone. Here is how the journey often goes.
Delegated authentication is a very good bridge, but it is a bridge, not always a destination. As more systems move to the cloud, some companies decide to retire their on-premises directory or to let Okta own the credential. Others go further and reduce passwords altogether with phone-based or hardware-key sign-in. The path below is typical, and each step can be paused for as long as needed.
flowchart LR
P1["Phase 1 - Delegated sign-in with MFA on top"] --> P2["Phase 2 - Add Desktop SSO and stronger policies"]
P2 --> P3["Phase 3 - Enroll people in passwordless methods"]
P3 --> P4["Phase 4 - Move password ownership to Okta where wanted"]
P4 --> P5["Phase 5 - Retire agents and legacy directory when ready"]
Stabilize and measure
Make the current delegated setup reliable and record how people really sign in: which devices, which locations, and how often.
Strengthen the second proof
Move people from weaker proofs such as text messages to phone approvals or security keys.
Reduce reliance on passwords
Offer sign-in methods that do not require typing a password. Fewer password checks mean fewer trips to the directory.
Choose who owns the credential
For groups that no longer need the directory password, move the password to Okta using one of Okta’s supported migration techniques. Review the current documentation for the options that fit your engine.
Retire what is no longer needed
Switch off agents and old connections only after logs show that nobody relies on them, and keep a rollback plan for a while.
Never switch off agents because a dashboard looks quiet on a Tuesday. Look at several weeks of logs, including month-end and holiday periods, to catch the rarely used applications and the staff who sign in only occasionally.
AAdvantages, Disadvantages, and Trade-offs
Every design choice trades one thing for another. Here is the honest picture.
Advantages
- People keep using the password they already know.
- Okta does not hold the password for delegated users.
- The directory team keeps control of password rules.
- No inbound firewall openings are needed.
- Modern second proofs can be added without touching the directory.
- A smooth path from on-premises to cloud.
- Works with both Active Directory and LDAP directories.
Disadvantages
- Sign-in now depends on your agents and network.
- More servers to build, patch, and watch.
- Lockout attacks can reach the directory through Okta.
- Okta password policies do not govern delegated users.
- Imports add a delay between directory changes and Okta.
- Several domains multiply the effort.
- Moving off it later takes planning.
Choosing well
| If your priority is | Lean toward | Because |
|---|---|---|
| Passwords must stay in our directory | Delegated authentication | It is built for exactly this |
| Fewest servers to run | Okta-mastered passwords | No agents on the sign-in path |
| Seamless sign-in on office computers | Desktop SSO, with delegation as the fallback | No typing needed in the office |
| Moving toward no passwords at all | Passwordless methods, with delegation during the transition | Reduces dependence on the directory step by step |
| Letting another company’s staff sign in | Federation to their identity provider | They check their own people |
FFrequently Asked Questions
SSummary and Key Takeaways
Key Takeaways
- Delegation means Okta asks your directory. The password is checked by your Active Directory or LDAP directory through an agent, and Okta does not keep it for those users.
- Agents call out, never in. They make outbound encrypted connections, so you avoid opening inbound firewall doors, and they also import profiles and groups.
- The directory’s rules win. Password strength, expiry, and lockout come from the directory, while Okta supplies the second proof, location rules, and sessions.
- Reliability is your job now. Run at least two agents per domain on separate servers, size for the Monday rush, and keep a tested break-glass administrator.
- Mind the lockout trap. Wrong guesses reach the directory, so use threat detection, location limits, and sensible thresholds.
- Least privilege everywhere. Give the service account, the agent servers, and the administrators the smallest power they need, and guard them closely.
- It is often a bridge. Delegation lets you modernize sign-in today, and you can later move toward passwordless or Okta-held credentials in careful stages.