Zero Trust with Okta
An introduction to the idea of "never trust, always verify," and how an identity platform like Okta turns that idea into real sign-in decisions for every person, device, and app.
Picture a company called Bluebird Logistics. It has 3,000 employees, a warehouse system, a finance system, and a customer portal. For years, its security plan was simple: build a strong wall around the office network, and trust everyone inside. Staff connected to the office network, or to a VPN that acted like a long tunnel into it, and once they were in, most systems opened up to them.
One Monday, a warehouse supervisor clicked a link in a fake delivery email and typed her password into a fake page. By Tuesday, an attacker was connected through the VPN as her. Because the wall trusted anyone inside, the attacker could see the finance system, copy files, and look for more passwords. Nobody noticed for eleven days. The wall had worked exactly as designed. The design was the problem.
Zero Trust is the answer to that story. It says: stop treating “inside the network” as a reason to trust anyone. Check who is asking, check what device they are using, check the situation around the request, and give only the smallest amount of access that is needed, every single time. And because every check starts with the question “who is this?”, the identity system sits at the center of the plan.
This guide is an introduction. We start with the old model and why it failed, then explain Zero Trust in plain words, then look at how Okta fits in: what its parts do, how a decision is made in under a second, and how to roll it out step by step. You do not need any security background to follow along.
1The Castle Is Gone: Why the Old Model Stopped Working
To understand why Zero Trust exists, we first need to look at the model it replaces, and at the changes in how we work that broke it.
The Castle and Moat
For decades, network security followed the castle-and-moat idea. Picture a medieval castle. It has thick walls, a moat, and one drawbridge with guards. Anyone outside is a possible enemy. Anyone inside is a friend. All the effort goes into strengthening the walls and guarding the gate.
In a company, the walls were firewalls, the drawbridge was the VPN, and the guards were passwords. The key assumption was that all the important things, such as servers, data, and people, lived in one place: the office and its data center. If you were on the office network, you were probably an employee. If you were outside, you were probably not.
What Changed
That assumption stopped being true, slowly and then suddenly. Four changes did the damage.
Apps moved to the cloud
Email, files, chat, sales tools, and code storage now live on the internet, run by other companies. They are outside your walls, so a wall cannot protect them.
People moved out of the office
Staff work from homes, cafes, airports, and shared desks, on home Wi-Fi that nobody in IT controls. “Inside the network” lost its meaning.
Devices multiplied
Laptops, phones, tablets, and personal devices all connect. Some are managed by the company and some are not. Each one is a possible weak spot.
Attackers learned to log in
Instead of breaking through walls, attackers steal passwords and sign in like normal users. Once inside, a flat network lets them roam freely.
The Flat Network Problem
A flat network is one where, once you are connected, you can reach almost everything. Security people call the attacker’s roaming lateral movement, meaning moving sideways from one machine to the next. In a flat network, one stolen password can become a whole-company disaster, because there are no inner doors.
Think of an apartment building where the front door has a strong lock, but inside, every apartment door is left open. A thief who picks the front lock, or simply follows a resident in, can walk into every home. Zero Trust is the idea of locking every apartment door, and also checking the identity of each person at each door, even if they are already in the building.
flowchart LR
subgraph OLD["Castle and moat"]
direction TB
A1["Attacker with stolen password"] --> A2["VPN gateway"]
A2 --> A3["Flat internal network"]
A3 --> A4["Finance system"]
A3 --> A5["HR system"]
A3 --> A6["Warehouse system"]
end
subgraph NEW["Zero Trust"]
direction TB
B1["Attacker with stolen password"] --> B2["Identity checks at every request"]
B2 -->|"Denied: unknown device"| B3["Blocked"]
B2 -->|"Allowed: one app only"| B4["Single app"]
end
Zero Trust does not mean “trust nobody ever” or “make everything hard.” It means trust is earned for each request, based on evidence, and kept as small and as short-lived as possible.
2What Zero Trust Really Means
Zero Trust is often sold as a product. It is not. It is a way of thinking, and a set of design rules, that many products can help you follow.
A Short History
The term Zero Trust was popularized around 2010 by John Kindervag, an analyst at Forrester Research, who argued that companies should stop treating any part of the network as automatically trustworthy. At about the same time, Google was dealing with a serious attack on its own systems, publicly known as Operation Aurora. Google responded by redesigning how its employees reach internal tools, so that access depended on the user and the device and not on being inside the office network. Google later described this approach, called BeyondCorp, in research papers starting in 2014.
In August 2020, the U.S. National Institute of Standards and Technology, known as NIST, published Special Publication 800-207, a formal description of Zero Trust Architecture. In January 2022, the U.S. federal government issued a memo requiring its agencies to move toward Zero Trust goals. Since then, the idea has moved from a niche opinion to a mainstream expectation in many industries.
The Core Rules
Different documents word it differently, but nearly all of them boil down to the same handful of rules.
Verify explicitly
Every request is checked using all the evidence available: who the user is, how they proved it, what device they use, where they are, and how risky the situation looks.
Use least privilege
Give people only the access they need to do their job, for only as long as they need it. Extra access is extra risk.
Assume breach
Design as if an attacker is already somewhere inside. Limit how far they can spread, log everything, and be ready to react fast.
Decide per request, not per network
Network location alone never grants access. Each connection to each resource is judged by policy.
Keep checking
Trust is not given once at the start of the day. Sessions are watched, and access can be reduced or ended if the situation changes.
Zero Trust Is a Journey, Not a Switch
No company flips a switch and becomes “Zero Trust” overnight. Nobody finishes. It is a direction of travel. You start with the highest risks, such as admin accounts and your most sensitive apps, and widen the circle over months and years. Because of this, the useful question is never “Are we Zero Trust?” but “Are we more verified, less privileged, and better at noticing problems than we were last quarter?”
If a vendor says “buy this box and you will have Zero Trust,” be careful. Zero Trust is built from several areas working together: identity, devices, networks, apps, and data. Any single product covers some of them, not all.
Production example: Google BeyondCorp
Google moved its employees to a model where internal tools are reached through an access proxy that checks the user and the device on each request, with no special trust given to the office network. Staff can work from any location on the same footing, and the company’s own description of the program is one of the best-known real-world case studies of the idea.
3Core Concepts: The Words You Need First
Zero Trust conversations use a lot of short, specific words. Here are the ones we will rely on, each explained in plain language with a picture in your mind.
Identity
A digital record that represents a person, a service, or a device. It holds a name, a login, group memberships, and more. Identity answers “who is this?”
Authentication
The act of proving you are who you say you are, for example by entering a password and approving a prompt on your phone. Often shortened to “authN.”
Authorization
Deciding what an authenticated person is allowed to do. Showing your ID at the airport is authentication. The boarding pass that lets you into one specific plane is authorization.
Multi-factor authentication
Proving identity with more than one kind of evidence: something you know, something you have, or something you are. Also called MFA.
Single sign-on
Signing in once to a trusted identity provider, and then reaching many apps without typing a password again. Also called SSO.
Device posture
The health report of a device: is the disk encrypted, is the screen lock on, is the system updated, is security software running? Posture answers “is this device safe enough?”
Context signals
Extra facts about a request: the time, the country, the network, whether the user is traveling impossibly fast, and whether the behavior is unusual for that person.
Policy decision point
The part of the system that looks at all the evidence and decides allow, deny, or ask for more proof. NIST calls it the PDP.
Policy enforcement point
The part that stands in front of the resource and carries out the decision. NIST calls it the PEP. The brain decides, the gate enforces.
Least privilege
Granting the smallest set of permissions that still lets a person do their job. A cashier gets a till key, not the vault key.
Microsegmentation
Splitting a network into many small zones with controlled doors between them, so a break-in to one zone does not spread to the others.
Session
The period after you sign in during which the system remembers you. In Zero Trust a session has a lifetime and can be cut short when risk grows.
The Brain and the Gate
The last concept pair is the most important. Imagine a nightclub. At the door, a guard checks IDs. But the guard does not make up the rules. The manager decided the rules in advance: over 21, not on the banned list, dress code applies. The guard is the enforcement point. The manager’s rule book and the checking process together act as the decision point.
Splitting the two matters. When the brain and the gate are separate, you can change the rules in one place and every gate follows. You can also put gates in front of many different resources, while keeping one consistent brain.
A large hospital has many doors: the pharmacy, the records room, the operating theater. Each door has a badge reader, which is the gate. All the readers ask the same central system, which knows who works there, what their role is, and which shift they are on. That central system is the brain. If a nurse leaves the hospital, you remove her access once, in the brain, and every door stops opening for her.
Authentication and authorization are different. A person can be fully authenticated and still be refused. Many breaches happen not because the attacker lacked a login, but because the login was allowed to do too much.
4Where Okta Fits: Identity as the Control Plane
Zero Trust spreads across identity, devices, networks, apps, and data. Okta focuses on one of these, identity, but it is the one that every other part leans on.
What Okta Does
Okta is an identity provider, or IdP: a service that stores user identities, checks their proof, and tells apps who is signing in. Companies use it as the central front door for workers, partners, and sometimes customers. When you click a tile on a work dashboard and land in an app without a second password prompt, an identity provider has done that for you.
Why Identity Becomes the Control Plane
A control plane is the place from which you steer a system, as opposed to the place where the work happens. In a world with no trusted network, the one thing that follows a request everywhere is the identity attached to it. Network addresses change. Devices change. But “this request is from Maria, on this laptop, using this app” is a stable question that every system can ask. That is why identity has become the control plane for Zero Trust. Okta describes this as the “identity layer,” and many other vendors say much the same.
The Big Picture
flowchart TB
subgraph SIG["Evidence sources"]
D1["Device management and endpoint security"]
D2["Network location and behavior"]
D3["Threat intelligence"]
D4["HR system as source of truth"]
end
subgraph OKTA["Okta identity layer"]
U["Universal Directory"]
P["Policy engine"]
A["Authentication and MFA"]
L["Lifecycle and governance"]
end
subgraph RES["Protected resources"]
R1["SaaS apps"]
R2["Internal web apps"]
R3["APIs and services"]
R4["Servers and infrastructure"]
end
D1 --> P
D2 --> P
D3 --> P
D4 --> L
L --> U
U --> P
A --> P
P --> R1
P --> R2
P --> R3
P --> R4
Mapping NIST Ideas to Okta Features
NIST describes the brain and the gate as separate parts. The table below shows a loose mapping to Okta, to help you build a mental picture. Real deployments mix these roles, so treat the table as a guide and not a strict rule.
| Zero Trust idea | What it means | Okta example |
|---|---|---|
| Policy decision point | The brain that evaluates evidence | Okta’s policy engine, which evaluates authentication policies on each sign-in |
| Policy enforcement point | The gate that applies the decision | Okta’s sign-in flow, plus the apps, gateways, and agents that honor Okta’s decision |
| Identity store | The record of who people are | Universal Directory, fed by HR systems and other directories |
| Device signals | Health and trust of the endpoint | Okta Verify and device integrations with management tools |
| Threat signals | Evidence of risk | Behavior detection, ThreatInsight, and signals from security partners |
| Activity record | What happened, and when | The Okta System Log, streamed to a security monitoring tool |
Okta covers the identity pillar. It does not replace your firewall, your endpoint protection, your data loss tools, or your monitoring platform. It works best as the decision-maker that these other tools feed and obey. Product names and packaging change over time, so confirm the exact features in your plan with Okta’s current documentation.
Production example: a company that runs Okta on Okta
Okta publicly describes using its own identity platform to secure its own workforce, with strong authentication and device checks on access to internal tools. Many large software companies follow the same pattern: the identity platform is the first thing they harden, because everything else depends on it.
5The Okta Building Blocks
Okta is a family of services. Here are the pieces most often used in a Zero Trust plan, each described by the job it does.
Universal Directory
The central list of users, groups, and attributes. It can pull from HR systems and other directories, so Okta always knows who is a current employee and what team they are on.
Single sign-on
Connects thousands of apps through standard languages such as SAML and OpenID Connect, so people sign in once and the security rules apply in one place.
Adaptive MFA and Okta Verify
Strong sign-in factors, with the level of proof adjusted to the situation. Okta Verify is the authenticator app that can also report device facts.
Okta FastPass
A passwordless sign-in method built into Okta Verify that checks the user and the device together and can satisfy more than one factor in one step.
Policies
Ordered rules that decide when to allow, deny, or step up proof, based on user, group, device, network, and risk.
Lifecycle Management
Automatically creates, changes, and removes accounts in apps as people join, move, or leave. This is how least privilege stays true over time.
Identity Governance
Access requests, approvals, and periodic reviews so managers confirm that people still need what they have.
Workflows
A no-code way to automate responses, such as suspending an account or notifying the security team when a risky event occurs.
ThreatInsight and risk signals
Uses data about suspicious sign-in activity across Okta’s customers and your own org to flag likely attacks, such as password spraying.
Privileged Access
Controls access to servers, databases, and secrets for administrators, with short-lived and approved sessions, where the product is licensed.
How They Work Together
No single block gives you Zero Trust. The pattern is that the directory holds the facts, the lifecycle tools keep those facts correct, the policies read the facts and the live signals, the authenticators collect the proof, and the monitoring tools watch the result. If any one of these is weak, the chain is weaker than it looks. For example, perfect MFA does not help if a former employee’s account was never removed.
A good airport uses many people and systems: a passenger list, ticket checks, ID checks, bag scanners, boarding gates, and cameras. If any one is missing, there is a gap. Okta’s building blocks play the same role: the passenger list is the directory, the ID check is the authenticator, the boarding rules are the policies, and the cameras are the logs.
6How a Zero Trust Decision Works Internally
Let us follow one real request from start to finish. This is the heart of the whole subject: what the system asks, in what order, and what it does with the answers.
The Story of One Sign-In
Priya works in finance at Bluebird Logistics. On Wednesday morning she opens her laptop and clicks the tile for the payroll app. Here is what happens in the next second or two.
The app sends her to the identity provider
The payroll app does not know who Priya is. It redirects her browser to Okta with a message that says, in effect, “please tell me who this is.”
Okta looks for an existing session
If Priya already signed in earlier and her session is still valid under the rules, Okta may skip asking for a password. If not, she is asked to sign in first.
Okta gathers the evidence
It reads her user profile and groups, checks the device through Okta Verify, notes her network and country, looks at her recent behavior, and checks for threat signals.
The policy engine evaluates the rules
Policies for the payroll app are read from top to bottom. The first rule whose conditions match decides the outcome: allow with a certain level of proof, or deny.
Priya proves herself as required
Because payroll is sensitive and her device is managed, the rule might require only a quick fingerprint approval through FastPass. On an unknown laptop, it might demand a stronger factor.
A short-lived proof is issued to the app
Okta sends the app a signed message or token saying who Priya is and which attributes apply. The token expires quickly. The app checks the signature and lets her in.
Everything is written to the log
The attempt, the factors used, the policy that matched, and the result are recorded in the System Log, ready for monitoring tools to read.
sequenceDiagram
participant P as Priya
participant B as Browser
participant A as Payroll App
participant O as Okta
participant S as Signal Sources
P->>B: Click payroll tile
B->>A: Open app
A-->>B: Redirect to Okta
B->>O: Sign-in request
O->>S: Ask for device and risk signals
S-->>O: Device is managed and healthy
O->>O: Evaluate policy rules in order
O-->>B: Ask for fingerprint approval
P->>B: Approve
B->>O: Proof of approval
O-->>B: Redirect with short-lived token
B->>A: Present token
A-->>P: Access granted
O->>O: Write event to System Log
Why Order Matters
Notice that the evidence is gathered before the decision, and the decision is made before the proof is requested. This is smart design. If the policy already knows the request is coming from a blocked country, there is no point asking for a fingerprint. If the policy knows the device is fully trusted and healthy, it can ask for less. Good Zero Trust feels easy for good situations and hard for risky ones.
A bank teller who knows you well and sees you come in with your usual card at your usual branch will process a small withdrawal quickly. If you show up at a different branch, at midnight, asking for a very large sum, the teller will ask for more proof. Same person, different situation, different level of checking. That is exactly what adaptive policies do.
Aim for “invisible when safe, loud when risky.” If every sign-in feels equally hard, users learn to approve prompts without thinking, and that habit is a weakness attackers exploit.
7Strong Proof: Moving Beyond Passwords
Everything in Zero Trust depends on believing that the person is who they claim to be. That belief is only as good as the proof. This chapter explains the main kinds of proof and why some are far better than others.
The Three Families of Proof
Security people group proof into three families. A strong login uses at least two different families together, which is what the word “multi-factor” means.
Something you know
A password, a PIN, an answer to a question. Easy to use, but easy to steal, guess, or trick out of someone.
Something you have
A phone, a hardware key, a smart card. Harder to copy from far away, because an attacker needs the object or its secret key.
Something you are
A fingerprint or face scan, usually checked on your own device. It unlocks a key held on the device and is not sent as a picture across the internet.
Not All Second Factors Are Equal
Many people think “I turned on MFA, so I am safe.” But attackers have adapted. They build fake sign-in pages that relay what you type, including your one-time code, to the real site in real time. They also flood users with approval prompts until someone taps “yes” to make it stop, a trick called MFA fatigue or prompt bombing. These attacks beat weaker factors. The industry term for the better kind of factor is phishing-resistant: one that cannot be tricked into working on the wrong site.
| Factor | Strength against phishing | Main weakness |
|---|---|---|
| Password only | Very low | Easily stolen, reused, or guessed |
| SMS or voice code | Low | Can be intercepted, redirected by SIM swapping, or relayed by fake pages |
| Email code | Low | Only as safe as the mailbox, and can be relayed |
| One-time code from an app | Medium-low | The code can be typed into a fake page and relayed |
| Push approval | Medium | Vulnerable to fatigue attacks unless number matching or context is used |
| Push with number matching | Medium-high | Better, but still depends on user attention |
| FIDO2 or WebAuthn security key or passkey | High | Needs enrollment, backup plans, and device support |
| Okta FastPass | High | Needs Okta Verify on the device and a sound recovery plan |
What Makes FIDO2 and FastPass Different
FIDO2 is an open standard for passwordless sign-in. Its web part is called WebAuthn. When you register, your device creates a pair of keys: a public key that the website stores, and a private key that never leaves your device. When you sign in, the website sends a challenge, and your device signs it with the private key, after you unlock it with a fingerprint or PIN. Crucially, the signature is tied to the website’s real address. A fake site at a different address cannot get a valid signature, so phishing simply fails. A passkey is the friendly name for this kind of credential, often synced between your devices by a trusted cloud service.
Okta FastPass follows a similar idea. Okta Verify on your device holds a key, and when you sign in, the device proves itself to Okta by signing a challenge, checking that you are present with a biometric or PIN, and reporting device facts. Because the proof is bound to the real Okta address, a look-alike page cannot collect it.
A one-time code is like reading a secret number over the phone: whoever hears it can use it. A passkey is like a magic ring that only fits one specific lock. Even if a thief builds a copy of the lock’s front plate, the ring will not turn in it.
Strong factors need a safe way to recover when someone loses a phone. If the recovery path is a weak help-desk call or an email link, attackers will use that path instead. Design recovery with the same care as sign-in, and verify identity with real evidence before resetting factors.
Production example: hardware keys at scale
Google has publicly reported that after it required hardware security keys for its employees, successful phishing of its workforce accounts dropped to essentially zero. This result is often cited as the strongest real-world evidence that phishing-resistant factors work.
8Policies: Writing the Rules of Access
Policies are where Zero Trust becomes real. They are the written rules that the policy engine follows on every request. This chapter explains how Okta structures them, and how to think about writing good ones.
The Main Kinds of Policy
Okta separates its rules into several policy types, each with its own job. The exact names in the admin screens can change between releases, so check current documentation, but the ideas stay stable.
Global session policy
Sets the rules for signing in to Okta itself: how long a session lasts, how long it may sit idle, and what is required at the front door.
Authentication policy
Attached to each app. Says what proof is needed to open that specific app, which lets sensitive apps demand more than ordinary ones.
Authenticator enrollment policy
Controls which factors people may or must set up, and for which groups.
Password policy
Length, complexity, reuse, lockout, and recovery rules for those who still use passwords.
Admin console protection
A stricter policy specifically for the people who manage Okta. Treat it as the most important policy you will write.
Risk and behavior rules
Define what counts as unusual, such as a new country or device, and what to do about it.
How Rules Are Read
Inside a policy there is an ordered list of rules. Okta reads them from the top. The first rule whose conditions all match is used, and the rest are ignored. At the bottom there is always a catch-all rule that applies when nothing else matched. The order and the catch-all are both critical, so let us look at each.
flowchart TD
S["Sign-in request arrives"] --> R1{"Rule 1: admin group?"}
R1 -->|"Match"| O1["Require phishing-resistant factor and managed device"]
R1 -->|"No match"| R2{"Rule 2: managed device on trusted network?"}
R2 -->|"Match"| O2["Allow with one strong factor"]
R2 -->|"No match"| R3{"Rule 3: unmanaged device?"}
R3 -->|"Match"| O3["Require two factors and limit the session"]
R3 -->|"No match"| C["Catch-all rule: deny or require strongest proof"]
Write Specific Rules First
Because the first match wins, the most specific rules belong at the top and the general ones below. A rule for “all administrators” should sit above a rule for “all employees,” or administrators will be caught by the weaker rule. This is one of the most common reasons a policy does not behave as expected.
Take the Catch-All Seriously
The catch-all rule is the safety net for anything you did not think of. A weak catch-all quietly becomes a back door. For sensitive apps, set the catch-all to deny or to require the strongest proof, and then add specific allow rules for the cases you want. This “deny by default” posture is a hallmark of Zero Trust.
Imagine a security guard with a laminated list of instructions, read top to bottom. “If the person is on the executive list, escort them. If the person has a staff badge and it is daytime, let them in. Otherwise, call the manager.” The last line is the catch-all. If the last line said “otherwise, let them in,” the whole list would be pointless.
Policy Design Tips
- Use groups, not individuals. Rules based on groups are easier to understand and audit than rules listing hundreds of names.
- Give each sensitivity level its own policy. A small number of reusable policies, such as “standard,” “sensitive,” and “critical,” beats a unique rule for every app.
- Name rules clearly. A rule called “Admins – phishing-resistant only” explains itself during an incident.
- Test before you enforce. Run new rules for a small pilot group, and use the System Log to see what would have happened.
- Keep a break-glass account. Maintain one or two emergency accounts with very strong, offline-protected credentials, excluded from risky dependencies, so you can still get in when something breaks.
A policy mistake can lock out everyone, including you. Never roll out a new global rule without a tested emergency path and a second administrator who can review it.
9Device Trust: Checking the Machine, Not Just the Person
A trusted person on an untrusted device is still a risk. If the laptop has malware, the attacker can use the user’s own session. Zero Trust therefore asks about the device as well as the identity.
Managed and Unmanaged Devices
A managed device is one the company controls through management software, often called MDM, short for mobile device management, or an endpoint management tool. Such tools can enforce disk encryption, install updates, and install security software. An unmanaged device is one the company does not control, such as a personal phone or a contractor’s laptop. Both exist in real life, and Zero Trust policies treat them differently without banning either.
What Okta Can Learn About a Device
Okta Verify, installed on the device, can report facts directly, such as the operating system version, whether the screen lock is enabled, and whether the disk is encrypted. Okta can also connect to management and endpoint security tools to confirm that a device is enrolled and meets the company’s standards. Together, these facts let a policy say things like “managed and encrypted devices may open the finance app; others may only open the intranet.”
Okta groups these checks under the idea of device assurance: a named set of minimum requirements, such as a minimum operating system version and a required screen lock, that you attach to policies. When a new security update is released, you raise the minimum version in one place, and every policy that uses it follows.
Benefits of device checks
- Stolen credentials alone are not enough to get in.
- Out-of-date or unprotected devices are kept away from sensitive apps.
- Policies can allow safe personal devices for low-risk apps without blocking work.
- Posture is checked at every sign-in, not once at purchase.
Things to plan for
- Rolling out Okta Verify and management tools takes time and communication.
- Personal devices raise privacy concerns, so explain what is and is not collected.
- Posture data can be wrong or stale, so it is one signal, not the only one.
- Support teams need a clear process for users who fail a device check.
A Tiered Approach
| Device state | Typical access | Extra controls |
|---|---|---|
| Managed, healthy, meets assurance | Full access to standard and sensitive apps | Fewer prompts, longer sessions |
| Managed, out of date | Limited access until fixed | Message telling the user what to update |
| Unmanaged, known user | Low-risk apps only, such as email on the web | Stronger proof, short sessions, no downloads where the app supports it |
| Unknown device | Basic access or none | Block sensitive apps, require enrollment |
A hospital lets a visiting surgeon in. But before entering the operating theater, the surgeon must scrub, wear a sterile gown, and use sterile tools. The surgeon is the same person as before. What changed is that the “device,” meaning the gloves and tools, must be clean. A device check is hygiene for the digital operating theater.
Production example: contractor access to a code repository
A software company lets outside contractors use its code storage service only from company-managed laptops with disk encryption on. Contractors on personal machines can read documentation but not source code. When a contractor’s laptop falls out of date, access pauses automatically and resumes after the update, with no help desk call needed.
10Network and Context: Reading the Situation
Zero Trust does not ignore the network. It simply refuses to treat the network as the main reason to trust. Network facts become one clue among many.
Network Zones
A network zone in Okta is a named group of network locations, such as your office addresses, or the ranges of a partner. Policies can say “allow from this zone,” “block from that zone,” or “require stronger proof when outside this zone.” You can also create zones for known bad sources, such as anonymizing services that hide a user’s real location, and block them from sensitive apps.
Zones can also be dynamic, meaning they are based on facts about the connection, such as the country or whether it comes from a known proxy, instead of a fixed list of addresses. This is helpful when you want to say “block sign-ins from countries where we have no staff” without maintaining an address list.
Behavior and Risk
Behavior detection compares a sign-in to a person’s usual pattern. Does it come from a new city? A new device? A travel distance that would be impossible? Has the time of day changed a lot? When something looks off, the sign-in can be marked as higher risk, and the policy can respond by asking for stronger proof or blocking.
New device
A sign-in from a device Okta has never seen for this user is a common sign of stolen credentials.
New location
A new country or city is not always bad, since people travel, but it deserves extra proof.
Impossible travel
A sign-in from London, followed twenty minutes later by one from Singapore, cannot be one person.
Known bad source
Traffic from addresses linked to attack campaigns can be challenged or blocked outright.
ThreatInsight and Password Spraying
Password spraying is an attack in which a criminal tries one or two very common passwords against thousands of accounts, slowly, to avoid lockouts. Credential stuffing is a related attack that tries passwords leaked from other websites. Okta’s ThreatInsight looks at patterns across sign-in attempts, including data across many customers, to spot and block suspicious sources before they succeed. It is a good example of a shared defensive signal: the more systems contribute, the sooner a new attack becomes visible.
Imagine a neighborhood watch. One house sees a stranger trying door handles. Alone, that could be nothing. But when ten houses report the same stranger on the same night, the pattern is clear and everyone locks up. ThreatInsight works like the neighborhood watch for sign-in attempts.
Use network and behavior signals to adjust the amount of proof, not as the sole gatekeeper. Attackers can use home-country addresses, and honest staff do travel. Blend signals instead of leaning on one.
Production example: a company with no staff in some regions
A mid-size firm operates in three countries. It creates a dynamic zone listing every other country and blocks sign-ins from there for all but a handful of travel-approved accounts. The simple rule removes a large share of automated attack traffic from its logs and leaves security staff with fewer, clearer alerts.
11Least Privilege: Giving Only What Is Needed
Proving who someone is does not decide what they should reach. Least privilege is the discipline of giving each person the smallest useful set of access, and taking it back when it is no longer needed.
Why Extra Access Is Dangerous
Every permission someone holds is a permission an attacker gains if that person’s account is stolen. Staff who have changed teams four times and kept all their old access are a classic example. Security people call this privilege creep, and it is one of the quiet reasons small breaches grow large.
Joiner, Mover, Leaver
The usual way to describe access over a person’s career is joiner, mover, leaver. Each stage needs its own care.
Joiner
When a new person is added in the HR system, Okta creates their account and gives them the apps that match their role, automatically, on the first day. No ticket queue and no guesswork.
Mover
When someone changes team, the HR change triggers an update. New access appears, and, just as important, old access disappears. This prevents privilege creep.
Leaver
When someone leaves, their account is suspended in every connected app within minutes, and sessions are ended. Former staff must not keep a working door.
Role-Based and Attribute-Based Access
Role-based access control, or RBAC, gives permissions through groups that represent jobs, such as “Finance Analyst.” Attribute-based access control, or ABAC, uses facts about the user and situation, such as department, country, or device state. Real systems blend both: groups for the broad grant, and conditions for the fine print. In Okta, groups usually carry the “what,” and policies add the “when and how.”
Access Requests and Reviews
Some access should not be automatic. For sensitive systems, people can request it, a manager approves, and the grant can expire after a set time. Periodic access reviews ask managers to confirm each person’s access list, so stale entries are removed. Okta’s governance features support these flows, and similar tools exist elsewhere.
Privileged Accounts Deserve Extra Care
Administrators and service accounts hold the strongest permissions, which makes them the favorite targets. Good practice includes separate admin accounts used only for admin work, phishing-resistant factors, short-lived elevated access granted just in time, and tight limits on who can change Okta policies themselves. Okta lets you split admin duties into narrow roles, so that the person who resets passwords cannot also rewrite the security policy.
Good habits
- Base access on role and let HR changes drive it.
- Expire elevated access automatically.
- Review access on a schedule, and act on the results.
- Split admin roles into small, narrow pieces.
Habits to avoid
- Giving everyone “super admin” because it is easier.
- Using one shared admin login for the whole team.
- Leaving old access in place after a move.
- Treating service accounts as invisible.
A hotel gives guests a key card that opens their own room, the gym, and the front door, and nothing else. It stops working on checkout day. It does not open the manager’s office, and it does not stay active for a year. Least privilege is the same simple idea applied to every digital door in a company.
Production example: automated offboarding at a fast-growing company
A fast-growing startup connected its HR system to its identity platform. When a departure is entered in HR, the person’s accounts are suspended across dozens of apps within minutes, and any open sessions are ended. Before automation, the same process took days and relied on a checklist that was often incomplete.
12Keep Checking: Continuous Evaluation
A sign-in is a single moment. But a session can last for hours, and a lot can change in that time. Zero Trust treats trust as something that can fade, and builds ways to notice and react.
The Problem With “Sign In Once”
Suppose Priya signs in at 9:00 a.m. with a healthy laptop. At 10:30, malware lands on her machine through a bad download. If the system only checked at 9:00, it would keep trusting her until the session ends. An attacker could steal the session and keep using it. Zero Trust asks: how do we notice that something changed, and how do we cut off access quickly?
Three Tools for Staying Current
Short session lifetimes
Sessions and tokens expire fairly soon, so the system must re-check regularly. Sensitive apps can use shorter lifetimes than ordinary ones.
Shared risk signals
Security tools can send events to the identity platform, such as “this device is now infected” or “this user’s behavior changed.” Standards such as the Shared Signals Framework describe how tools exchange these messages.
Universal logout
A way to end a user’s sessions across many apps at once, instead of having to log out of each app one by one.
Identity threat protection
Okta’s capabilities that watch a session for risk changes, such as a sudden change of device or location, and can trigger a response while the session is live. Check the current product documentation for the exact features in your plan.
The Loop
flowchart LR
A["Sign in with policy check"] --> B["Active session"]
B --> C["Watch signals: device, behavior, threat feeds"]
C --> D{"Risk changed?"}
D -->|"No"| B
D -->|"Yes"| E["Respond: step up proof, reduce access, or end session"]
E --> F["Log the event and notify security"]
F --> A
Automated Responses
Speed matters. A human analyst may need an hour to notice an alert and respond. A prepared automated response can act in seconds. Using Okta Workflows or integrations with security tools, teams build simple “if this, then that” responses. For example: if the endpoint security tool flags a device as compromised, end the user’s sessions, require a fresh sign-in with a strong factor, and open a ticket for the security team. Automated actions should be tested carefully and used in proportion, because a wrong automatic action can lock out honest staff at a bad moment.
Think of a shopping mall guard who checks your bag at the entrance, but then also watches the cameras all day. If someone is seen forcing a shop door, the guard acts even though that person passed the entrance check hours ago. Continuous evaluation is the camera room in the mall of your identity system.
Start by automating only the safe, reversible responses, such as requiring another sign-in or sending an alert. Add stronger actions, like suspending an account, once you have measured how often the signals are right.
13Zero Trust for Apps and APIs
People are not the only ones making requests. Apps call other apps, and services call APIs. Zero Trust applies to these machine-to-machine conversations too.
Standards That Carry Identity
Modern apps use a small set of shared standards to receive identity from a provider like Okta. OAuth 2.0 is a framework for granting limited access without sharing passwords. OpenID Connect, or OIDC, adds a standard way to say who the user is. SAML is an older XML-based standard still common in business software. All three let an app trust Okta’s signed statement instead of keeping its own password list.
Tokens and Their Limits
A token is a small, signed package of facts that proves a request is allowed. Good tokens are short-lived, narrow in scope, and meant for one specific audience. An access token lets a caller use an API. It carries scopes, which are named permissions such as “read invoices” or “write orders.” An API should check the signature, the issuer, the audience, the expiry, and the scopes on every call. This is Zero Trust at the API: it never assumes a call is safe just because it came from inside the network.
| Token property | Why it matters | Zero Trust habit |
|---|---|---|
| Lifetime | A stolen token is only useful until it expires | Keep access tokens short, such as minutes, and use refresh with care |
| Scope | Limits what a token can do | Grant the narrowest scopes each client needs |
| Audience | Says which API the token is for | APIs reject tokens meant for other services |
| Issuer | Says who created the token | APIs trust only the expected authorization server |
| Claims | Facts about the user or client | Use claims such as group or department for fine-grained decisions |
Machines Need Identities Too
A service account or workload identity is an identity for software, not a person. These are often forgotten, over-permissioned, and given passwords that never change. In a Zero Trust plan, they receive the same care as humans: a named owner, narrow permissions, automatically rotating secrets or short-lived credentials, and monitoring. Okta’s API access management can issue tokens to services using the client credentials flow, with scopes that you define.
Legacy Apps
Not every app speaks modern standards. Old in-house apps may only know a login form or a header. The common bridges are an access proxy or gateway placed in front of the app, which acts as the enforcement point, and which asks Okta before letting requests through. Okta integrates with several such gateway products. This approach lets old apps benefit from modern policy without being rewritten.
flowchart LR
U["User with device"] --> G["Access gateway: enforcement point"]
G --> O["Okta: decision point"]
O -->|"Allow with token"| G
G --> L["Legacy internal app"]
S["Service client"] --> T["Okta authorization server"]
T -->|"Short-lived scoped token"| S
S --> API["Orders API"]
API --> V["API checks issuer, audience, scope, expiry"]
A token is like a day pass for an office building. It says which door it opens, who it was issued to, and when it expires. A guard at the right door checks the pass each time. A permanent master key that opens everything and never expires is the thing Zero Trust is trying to avoid.
Production example: microservices at a large streaming company
Large streaming and e-commerce companies run hundreds of small services that call each other constantly. They commonly use short-lived signed tokens and per-service identities, so that a compromised service cannot freely call every other service. Each call is verified on its own merits, even though it never leaves the company’s network.
14Advantages, Disadvantages and Trade-offs
Zero Trust is a strong approach, but it is not free. A fair look at both sides helps you plan, and helps you explain the project honestly to others.
Advantages
- Smaller blast radius. A stolen account reaches less.
- Resistance to phishing. Phishing-resistant factors beat the most common attack.
- Consistent control. One policy engine across many apps, rather than rules scattered in each.
- Better visibility. Central logs make investigations faster.
- Works anywhere. Staff can work from any location on the same footing.
- Faster response. Sessions can be ended across apps quickly.
Disadvantages
- Effort. Cleaning up groups, apps, and devices takes months.
- User friction. More checks can annoy people if poorly tuned.
- Concentration of risk. The identity platform becomes a high-value target.
- Dependency. If the identity service is down or misconfigured, access suffers.
- Complex policy. Many rules can interact in surprising ways.
- Legacy gaps. Old apps may need gateways or replacement.
The Key Trade-offs
| Tension | Leaning too far one way | Leaning too far the other way |
|---|---|---|
| Security and convenience | So many prompts that users approve blindly | So few checks that attackers walk in |
| Central control and resilience | One point of failure for all access | Scattered rules nobody can audit |
| Automation and caution | Auto-blocking honest users by mistake | Slow manual response during real attacks |
| Strict device rules and privacy | Too much visibility into personal devices | Unknown devices touching sensitive data |
| Short sessions and productivity | Constant re-sign-in fatigue | Stolen sessions living for days |
When Zero Trust Is a Good Fit
Almost every company with cloud apps and remote staff benefits. The more sensitive your data and the more apps you use, the larger the benefit. For a very small team with a handful of apps, a lightweight version still helps: strong MFA, single sign-on, and prompt offboarding give most of the return for little effort.
Wearing a seatbelt, checking mirrors, and keeping your car serviced all add a little effort to every drive. Almost nobody argues against them, because the cost is small and the protection in a crash is large. Zero Trust is the seatbelt habit for company systems. The art is making it as comfortable as a good seatbelt: you stop noticing it on normal days.
15Protecting the Identity Platform Itself
If identity is the control plane, then the identity platform is the most valuable lock to protect. It would be strange to build a Zero Trust plan on top of an unguarded front door.
Why Identity Providers Are Targets
An attacker who controls your identity provider can sign in as anyone, change policies, and open every connected app. For this reason, identity systems of all vendors are high-value targets, and the people who run them must take extra care. Okta itself has disclosed security incidents over the years, including a 2023 incident in which attackers used a stolen credential to reach its customer support case system and view files that customers had uploaded, such as browser recordings used for troubleshooting. Okta published guidance afterwards, including advice to remove sensitive session data from files shared with support. The lesson for customers is not to panic, but to treat the identity layer as critical infrastructure and to follow vendor security guidance closely.
A Hardening Checklist
Phishing-resistant admin access
Require strong factors and managed devices for anyone who signs in to the admin console, with a stricter policy than for ordinary staff.
Separate admin accounts
Admins use a dedicated account for admin work, not their everyday email account.
Narrow roles
Give each administrator only the permissions they need, and review the list often.
Bind sessions to context
Use session settings that tie the session to the device or network where it started, where the product supports it, so stolen cookies are less useful.
Careful with files shared with vendors
Remove session cookies and tokens from diagnostic files before sharing them, and treat them as sensitive.
Hardened help desk
Strong identity checks before resetting a factor. Social engineering of the help desk is a favorite attacker trick.
Alert on admin changes
Send events for policy edits, new admin roles, and new API tokens to your security team in near real time.
Break-glass and recovery plan
Know how you would regain control if your own admin accounts were locked or abused, and practice it.
API tokens used by integrations with admin power are as sensitive as admin passwords. Store them in a secrets vault, limit their scope, rotate them, and know which systems use each one.
A bank spends more money guarding the vault than guarding the lobby. The identity platform is your vault of keys. The same logic applies: the strongest checks belong on the people and systems that can change the rules.
16Monitoring, Logging and Metrics
“Assume breach” only works if you can see what is happening. Logs are the memory of your identity system, and metrics tell you whether your Zero Trust program is actually improving.
The Okta System Log
The System Log records events in your org: sign-ins, failed attempts, factor enrollments, policy evaluations, password resets, admin actions, and more. Each entry says who did what, from where, when, and with what result. It is the first place to look during an investigation. Because the log inside Okta keeps events for a limited time, most companies stream it to an outside system for long-term storage and alerting. Okta supports log streaming to major cloud services and security platforms.
Where to Send the Logs
A SIEM, short for security information and event management tool, collects logs from many systems, correlates them, and raises alerts. Sending Okta events to a SIEM lets analysts connect identity events with network, endpoint, and cloud events. A sign-in from a new country, followed by a mailbox rule change, followed by a large download, tells a story that no single log tells alone.
Collect
Stream identity events continuously to a central store, along with device and network events.
Detect
Create alerts for patterns such as many failed sign-ins, new admin roles, policy changes, and factor resets for privileged users.
Respond
Link alerts to playbooks, such as ending sessions and resetting factors, with clear owners and time targets.
Learn
After every incident, tighten policies and update alerts so the same trick works less well next time.
Metrics That Show Progress
| Metric | What it tells you | Good direction |
|---|---|---|
| Share of users with phishing-resistant factors | How strong your proof really is | Rising, with admins first |
| Share of sign-ins from managed devices | Device coverage | Rising for sensitive apps |
| Share of apps behind central sign-in | How much is under policy | Rising toward all apps |
| Time to remove access after departure | Offboarding speed | Falling to minutes |
| Number of standing admin accounts | Privileged exposure | Falling |
| Share of access reviewed on schedule | Governance health | Near 100 percent |
| Time from alert to containment | Response speed | Falling |
| MFA prompt denial and fatigue reports | Attack and user experience signals | Watched, with training |
Pick three to five metrics and report them monthly to leaders. A short, honest chart that moves in the right direction wins more support for the program than a long list of technical details.
Production example: catching a session theft
A security team’s alert rule noticed that one account had been used from two very different networks within minutes, right after a successful sign-in. Analysts ended the sessions, forced a fresh strong sign-in, and traced the cause to malware on a laptop. The attacker never reached the finance app, because the quick response closed the window.
17Design Patterns and Anti-patterns
Patterns are shapes that work again and again. Anti-patterns are the tempting shortcuts that cause trouble later. Knowing both saves months.
Patterns That Work
Tiered application policies
Define a few levels, such as standard, sensitive, and critical, each with its own policy, and tag every app with a level. Simple to explain and to audit.
Admins first
Apply the strongest rules to administrators before anyone else. It is the quickest risk reduction per hour of work.
HR as the source of truth
Let the HR system drive joiners, movers, and leavers, so access follows real job changes automatically.
Deny by default
End each policy with a catch-all that blocks or demands the strongest proof, and add allow rules for known good cases.
Pilot, then widen
Test each new rule with a small group, read the logs, fix surprises, then expand in waves.
Signals in, actions out
Feed device and threat signals into Okta, and let Okta’s decisions and actions flow back to security tools.
Anti-patterns to Avoid
What it looks like
The team turns on MFA with text-message codes for everyone and declares the Zero Trust project done.
Why it hurts
Text codes are among the weakest factors and are relayed by modern phishing kits. The company feels safe without being safe.
Better approach
Treat MFA as a starting point. Move administrators and sensitive apps to phishing-resistant factors, and phase out weak ones.
What it looks like
Rules are added for every complaint, one exception at a time, until nobody understands the policy list.
Why it hurts
Exceptions pile up and conflict. Attackers find the weakest rule, and auditors cannot tell what is intended.
Better approach
Keep a small set of tiered policies. Handle exceptions with time-limited rules that have an owner and an end date.
What it looks like
Strong rules are applied to people, but apps still allow local logins with passwords that bypass the identity platform.
Why it hurts
Attackers go around the front door. The policy engine never sees the request.
Better approach
Require sign-in through the identity provider for each app, and disable or tightly control local logins, keeping only vaulted break-glass accounts.
What it looks like
A big-bang rollout turns on strict rules for everyone on a Monday morning with no pilot and no communication.
Why it hurts
The help desk is flooded, executives are locked out, and the project loses trust before it has proved its value.
Better approach
Pilot with volunteers, announce changes ahead of time, provide clear instructions, and expand in planned waves.
What it looks like
Leaders buy several security products and expect them to combine into Zero Trust on their own.
Why it hurts
Tools that do not share signals or agree on policies leave gaps and duplicate work.
Better approach
Define the policies you want first, then choose and connect tools so that signals flow to the decision point and decisions flow back out.
18A Practical Rollout Roadmap
The best way to eat an elephant is one bite at a time. Here is a path that moves from the quickest, highest-value steps to the deeper work, and keeps users on your side.
Phase 0: Know What You Have
Before you change anything, make lists. Which apps do people use? Which are already behind single sign-on, and which still have their own passwords? Who are your administrators? Which devices connect? Which service accounts exist? You cannot protect what you cannot see, and this inventory often reveals surprises, such as forgotten apps with active logins for former staff.
Days 1 to 30: Foundation
Connect the HR system as the source of truth. Put the most-used apps behind single sign-on. Turn on MFA for everyone. Protect the admin console with the strongest rules you can, and create tested break-glass accounts. Start streaming the System Log to a central tool.
Days 31 to 60: Strengthen proof
Roll out Okta Verify and FastPass or security keys, beginning with administrators and then sensitive teams such as finance and engineering. Switch weak factors off for those groups. Publish a clear recovery process for lost devices.
Days 61 to 90: Add device and context
Integrate device management, define device assurance levels, and apply tiered policies. Add network zones and behavior rules. Pilot, tune, and then enforce for sensitive apps.
Months 4 to 6: Govern and automate
Automate joiner, mover, and leaver flows. Introduce access requests and reviews for sensitive apps. Build automated responses for the clearest high-risk signals.
Months 7 to 12: Extend and refine
Bring in APIs, service accounts, infrastructure access, and legacy apps through gateways. Review metrics, retire old exceptions, and practice incident drills.
flowchart LR
P0["Inventory"] --> P1["Foundation: SSO, MFA, admin protection, logs"]
P1 --> P2["Strong proof: FastPass and keys"]
P2 --> P3["Device and context policies"]
P3 --> P4["Lifecycle, governance, automation"]
P4 --> P5["APIs, legacy, infrastructure"]
P5 --> P6["Measure and refine"]
P6 -.-> P3
Where to Put Limited Time First
If you can only do three things this month, do these: protect administrators with phishing-resistant sign-in, connect the HR system so leavers lose access at once, and send identity logs to a place where someone is looking at them. These three steps cut a large share of real-world risk for modest effort.
Renovating a house while living in it is hard. You do not rip out every wall at once. You fix the front door lock first, then the windows, then the inside doors, and you keep the kitchen working the whole time. A Zero Trust rollout is a careful renovation of a house everyone still lives in.
Write down a one-page “definition of done” for each phase, such as “all administrators use phishing-resistant sign-in.” Clear finish lines keep a long program from drifting.
19People and Change: Making It Stick
Most Zero Trust projects fail for human reasons, not technical ones. People who feel blocked will find ways around controls. People who understand the reason and see a smooth experience will help you.
Explain the Why
Staff accept inconvenience more readily when they know the reason. A short message such as “We are moving to passwordless sign-in because stolen passwords are the number one way companies get breached, and this change makes your day faster, not slower” works better than a long policy notice. Use real, simple stories, and avoid scary language.
Design for the Good Day
The sign-in a person sees most is the ordinary one, from their own managed laptop at their usual place. Make that path almost invisible, with FastPass or a fingerprint and no extra prompts. Spend the friction budget on unusual cases. A person who signs in 20 times a week will judge the whole program by those 20 moments.
Support the Help Desk
The help desk becomes a front line. Give them a clear script for lost phones, new laptops, and failed device checks. Equip them with ways to verify identity that attackers cannot easily fake. Track the most common tickets and fix their causes, because a repeated ticket is a design problem in disguise.
Announce early and often
Tell people what is changing, when, why, and where to get help, at least two weeks ahead and again on the day.
Teach the new habits
Short videos and one-page guides on enrolling a device, approving a prompt, and spotting a fake sign-in page.
Collect feedback
A simple form during the pilot reveals real problems before they reach the whole company.
Explain device privacy
State clearly what the device check does and does not see, especially on personal phones.
Executive Support
Leaders must follow the same rules. If executives are exempt, the rest of the company notices, and attackers love to target exempt accounts. Include leaders early, listen to their friction, and make the experience smooth for them. Their visible cooperation sets the tone.
Production example: a pilot that earned trust
An IT team rolled out passwordless sign-in first to 150 volunteers across departments. Volunteers reported two problems: a confusing prompt wording and an issue with an older laptop model. The team fixed both in two weeks, then rolled out to the rest of the company with almost no help desk spike, and volunteers became the local champions who answered colleagues’ questions.
20Best Practices and Common Mistakes
A short checklist of habits to copy, and traps to dodge.
Best Practices
- Protect administrators first. Their accounts are the keys to everything else.
- Prefer phishing-resistant factors. Move toward FastPass, security keys, and passkeys, and retire SMS where you can.
- Make HR the source of truth. Let real job changes drive access.
- Group apps into tiers. A few reusable policies are easier to defend than hundreds of custom ones.
- End every policy with a safe catch-all. Deny by default and allow known good.
- Check devices, not only people. Use device assurance to raise the bar for sensitive apps.
- Keep sessions as short as users can bear. Shorter for sensitive apps, longer for ordinary ones.
- Log everything and watch it. Stream logs to a SIEM and build alerts for admin changes.
- Automate carefully. Begin with reversible actions and grow from there.
- Practice failure. Run drills for lost admin access, stolen sessions, and identity platform outages.
- Review often. Check access lists and policies on a calendar, not only after incidents.
Common Mistakes
Forgetting recovery
Strong sign-in with a weak reset process just moves the attack to the help desk.
Rule order errors
A broad rule placed above a narrow one swallows the narrow rule and weakens protection for the people you meant to protect.
Locking yourself out
Applying a strict policy to administrators without a tested emergency account can stop all management.
Ignoring service accounts
Machine identities with old passwords and broad access are a favorite target and are rarely reviewed.
Prompt overload
Constant approval requests train users to tap “yes” without looking, which undoes the protection.
No owner
Policies and integrations without a named owner drift out of date, and nobody notices until something breaks.
Stopping at the front door
Strong sign-in, but apps that never end sessions, never check scopes, or allow permanent access tokens.
Counting tools, not outcomes
Measuring the number of products bought instead of the share of users on strong factors or the speed of offboarding.
Be cautious with exceptions. Every “just this once” rule for a senior person or a noisy team becomes a permanent hole. Give every exception an owner, a reason, and an end date.
21Proving It Works: Compliance and Troubleshooting
Two practical questions follow every Zero Trust project. How do we show auditors that the controls are real? And what do we do when a user says “I cannot get in”?
Evidence for Auditors
Auditors who review a company for standards such as SOC 2, ISO 27001, or industry rules like PCI DSS and HIPAA ask similar questions about identity. Who can access this system? How do you know they still need it? How do you stop a leaver? How do you protect administrators? How do you detect misuse? A central identity platform answers these from one place, which is a quiet benefit of Zero Trust: the same controls that reduce risk also produce proof.
| Auditor question | Evidence to show | Where it comes from |
|---|---|---|
| Who can reach the payroll system? | Group membership and assignment list | App assignments and group reports |
| Is strong sign-in required? | Policy settings and enrollment statistics | Authentication policy and authenticator reports |
| How fast are leavers removed? | Timestamps from HR change to account suspension | System Log and HR records |
| Are access reviews done? | Review campaigns with decisions and dates | Governance reports |
| Who changed security settings? | Admin action history with names and times | System Log, exported to the SIEM |
| How do you detect misuse? | Alert rules and sample investigations | SIEM rules and incident tickets |
Collect this evidence continuously instead of in a panic before the audit. A monthly saved report, kept in a shared folder with a date, turns a stressful audit week into a calm afternoon.
Troubleshooting a Blocked User
When a person is blocked, the System Log is the best friend of the help desk. Each sign-in attempt records which policy and rule matched and why the result was allow or deny. Work through a few simple questions in order.
Is the account healthy?
Check that the account is active, not locked, and that the user is in the expected groups. A recent team move may have changed their access.
What did the log say?
Find the failed attempt and read the policy rule that matched. Often the message already explains the cause, such as an unmanaged device or a blocked zone.
Is it the device?
Check whether Okta Verify is installed, whether the operating system is current, and whether the device meets its assurance requirements.
Is it the network or location?
Look for a VPN, a travel location, or a shared address that fell into a blocked or unfamiliar zone.
Is it the factor?
Confirm the person has a working factor. A lost phone or a new device may mean a safe, verified reset is needed.
flowchart TD
A["User cannot sign in"] --> B{"Account active and in right groups?"}
B -->|"No"| B1["Fix status or group, check HR data"]
B -->|"Yes"| C{"Log shows device check failed?"}
C -->|"Yes"| C1["Update system or enroll device"]
C -->|"No"| D{"Log shows zone or location block?"}
D -->|"Yes"| D1["Review zone rule, grant temporary exception with end date"]
D -->|"No"| E{"Factor missing or lost?"}
E -->|"Yes"| E1["Verified recovery and re-enrollment"]
E -->|"No"| F["Review policy rule order and escalate"]
Give the help desk a read-only view of the relevant log entries, and a clear rule for when to escalate. The faster they can see why a request was denied, the less likely they are to grant an unsafe workaround.
When a flight is delayed, the airline’s screens say whether the cause is weather, crew, or the aircraft. A good Zero Trust log gives the same clarity for a blocked sign-in. Knowing the reason turns an angry phone call into a short, calm fix, and gives the auditor a record that rules were followed.
22Real-World and Industry Examples
Zero Trust ideas appear differently in different industries. These examples show the shape of the thinking. Company names are used only where they have publicly described their approach, and details may have changed.
Google: BeyondCorp
Google moved its internal applications so that access depends on user and device, with no special trust for the office network. It published research papers describing the design, and its approach influenced much of the industry, including products now sold as Zero Trust access services.
Netflix: location-independent security
Netflix has spoken publicly about building security around identity and device rather than the corporate network, so that engineers can work from anywhere and reach internal tools through an authenticating proxy. The goal is to remove the need for a traditional VPN for most work.
Cloudflare: phishing-resistant keys after a phishing attempt
Cloudflare publicly described a 2022 phishing campaign against its employees in which several staff entered credentials on a fake page, but attackers were unable to sign in because the company required hardware security keys. The story is a widely cited example of why phishing-resistant factors matter.
Regulated finance: strict access and strong audit
Banks and insurers often combine strong sign-in, device checks, short sessions, and detailed logs with regular access reviews, because auditors expect proof of who could see what. An identity platform provides much of that evidence from a single log.
Healthcare: shared workstations and fast sign-in
Hospitals have staff moving between shared computers all day, who cannot spend minutes typing passwords between patients. Badge tap, fingerprint, or passwordless sign-in with strict logging fits the need, protecting patient records while keeping care moving.
A Worked Example in Numbers
Let us do a small planning exercise for Bluebird Logistics. The company has 3,000 employees, 60 business apps, and 25 administrators. In the first 30 days, the team connects the HR system and puts the top 20 apps behind single sign-on. By day 60, all 25 administrators and the 200 people in finance and engineering use phishing-resistant sign-in. By day 90, the 600 laptops managed by IT meet a device assurance standard, and the remaining 40 apps are moved behind single sign-on in two waves.
At the start, offboarding took about three days because a human checklist had to be followed across many apps. After automation, a departure entered in the HR system suspends access across connected apps within minutes. Before the project, only 8 percent of sign-ins came from managed devices with strong factors. After six months, 70 percent of sign-ins to sensitive apps did. These numbers are illustrative, but they show the kind of measurable change a team should aim for.
23Frequently Asked Questions
Short answers to the questions people ask most when they first meet Zero Trust with Okta.
24Summary and Key Takeaways
Zero Trust replaces “trust the network” with “verify each request.” Okta gives you a strong place to make those decisions, because every request carries an identity, and identity is the one thing you can check everywhere.
Key Takeaways
- The castle wall is gone. Cloud apps, remote work, and stolen passwords mean that being inside the network proves nothing. Trust must be earned per request.
- Zero Trust is a strategy, not a product. Its rules are verify explicitly, use least privilege, assume breach, and keep checking.
- Identity is the control plane. Okta acts as the decision point, gathering identity, device, network, and risk evidence, and applying ordered policies with a safe catch-all.
- Proof must resist phishing. Move from passwords and weak codes toward FastPass, security keys, and passkeys, starting with administrators.
- Check the device and the situation. Device assurance, network zones, and behavior signals let you ask for less when safe and more when risky.
- Give only what is needed, and take it back. Let HR changes drive joiner, mover, and leaver flows, expire elevated access, and review often.
- Protect the identity platform and keep watching. Harden admin access, stream logs to a SIEM, automate safe responses, and roll out in phases with the people on your side.