App Sign-On Rules in Okta

App Sign-On Rules in Okta

A friendly, complete guide to the rules that decide who may open each application, from where, on which device, and with what proof.

Picture a large office building. At the front there is a main door, and once you are inside, you can walk the lobby. But the building also has a payroll room, a server room, a lawyers’ office, and a cafeteria. The cafeteria has no lock at all. The payroll room has a guard, a list of names, and a fingerprint reader. The server room has all of that and a second guard.

Okta works much the same way. Signing in to Okta gets you into the lobby. App sign-on rules are the guards and locks on each room. They decide, one application at a time, who may enter, from where, on which device, and what proof they must show.

This post explains these rules from the very beginning. You do not need to know anything about Okta first. By the end you will understand what the rules are, how Okta reads them, how to design them well, and how to find the problem when someone says, “I cannot open my app.”

WWhat Are App Sign-On Rules?

They are the per-application checks that run after you are already known to Okta.

An application is any program or website that people use for work, such as email, a payroll system, a code repository, or a customer database. Okta connects to these applications so that people can sign in once and reach many of them. This is called single sign-on.

But “sign in once” does not mean “every door opens the same way.” A rule that is right for the cafeteria menu is wrong for the payroll system. So Okta lets an administrator attach a set of rules to each application. These are the app sign-on rules. Each rule says, in effect: if this kind of person, in this kind of situation, tries to open this application, then do this.

Analogy

Think of a theme park wristband. Everyone wears the same wristband at the gate, but individual rides check it differently. The gentle carousel lets anyone through. The tallest roller coaster checks your height, and the VIP lounge checks the color of your band. App sign-on rules are the ride-by-ride checks. The gate wristband is your Okta session.

Who
Which people or groups
Where
Which networks and places
What
Which devices and risk level
Proof
Which factors, how often

Why do they exist?

If every application demanded the same checks, you would face a bad choice. Make the checks light, and your most sensitive systems are weakly guarded. Make the checks heavy, and everyone is annoyed all day long just to read the lunch menu. App sign-on rules let you give each application the level of protection it deserves.

A naming warning

Okta has changed its words over the years. In the newer Okta Identity Engine, these rules live inside what Okta calls authentication policies (also known as application sign-in policies). In the older Classic Engine, they appear as the sign-on policy of each application. The idea is the same, but screens and options differ. This post uses the plain phrase “app sign-on rules” for the idea and points out differences where they matter.

!
Watch out

Okta changes its product often. Names of screens, available conditions, and default values may differ from what you read here. Treat this post as a map of the ideas and confirm exact details against current Okta documentation in your own organization.

BBuilding Blocks in Plain Words

Eight small ideas are enough to understand the whole subject.

Block

Application

The program or website being protected. Each application is assigned one policy at a time.

Block

Policy

A named collection of rules. Think of it as the whole rulebook for a door.

Block

Rule

One line in the rulebook: a set of conditions and the result when they match.

Block

Condition

A question about the situation, such as “Is this person in the Finance group?” or “Is this laptop managed?”

Block

Action

What happens when the conditions match: allow, deny, or allow with extra proof.

Block

Factor

A way of proving who you are, such as a password, a phone approval, a fingerprint, or a security key.

Block

Catch-all rule

The last rule in every policy. It decides what happens to anyone who matched nothing above it.

Block

Context

Facts about the moment of sign-in: location, device, network, and risk.

How the blocks fit together

An application points to one policy. The policy holds an ordered list of rules. Each rule has conditions and an action. When someone tries to open the application, Okta walks down the list, finds the first rule whose conditions match, and obeys its action. If nothing above matches, the catch-all rule decides.

PieceQuestion it answersEveryday comparison
ApplicationWhich door is this?The payroll room
PolicyWhat is the rulebook for this door?The binder on the guard’s desk
RuleWhat is one specific instruction?“Finance staff on the office network show a badge”
ConditionWhen does the instruction apply?“If you are on the finance list”
ActionWhat should the guard do?“Let them in” or “Turn them away”
Catch-allWhat about everyone else?“Anyone not listed must call the manager”

TTwo Gates: The Session Gate and the App Gate

Okta checks you twice: once to let you in to Okta itself, and again for each application.

Many beginners mix up two different sets of rules. The first set belongs to your Okta session. It decides how you get into Okta in the first place, and how long that stays valid. The second set belongs to each application. It decides whether you may open that particular program right now.

flowchart TD
  U["Person opens a link to an application"] --> S{"Valid Okta session?"}
  S -- No --> G["Global session policy runs: sign in to Okta"]
  G --> A
  S -- Yes --> A["Application's policy is read"]
  A --> R{"First matching rule"}
  R -- "Deny" --> X["Access refused"]
  R -- "Allow with proof" --> P{"Proof already fresh enough?"}
  P -- No --> Q["Ask for the required factors"]
  Q --> O["Open the application"]
  P -- Yes --> O
    
Figure 1: The session gate comes first, then the application’s own rules
Session rulesApp sign-on rules
Applies toYour whole Okta sign-inOne application at a time
Main questionHow long may you stay signed in to Okta?May you open this application now, and with what proof?
Typical settingsMaximum lifetime, idle timeout, persistenceAllow or deny, factors, re-authentication frequency
Who sets itAn administrator, for groups of peopleAn administrator, for each application or group of applications
Analogy

An airport has a security checkpoint at the entrance, and also a boarding gate for each flight. Passing the first does not guarantee passing the second. A flight to a restricted destination may ask for extra papers even from someone who sailed through security.

i
Tip

When you are troubleshooting, always ask first: “Did the person fail at the Okta gate or at the application gate?” The answer sends you to a different set of rules.

AAnatomy of a Single Rule

Every rule is an IF part and a THEN part. Learn this shape once and every policy becomes readable.

Reading a rule is like reading a sentence with two halves. The first half says who and in which situation. The second half says what Okta should do.

flowchart LR
  subgraph IFPART ["IF - conditions"]
    C1["Which users or groups"]
    C2["Which device"]
    C3["Which network"]
    C4["Which risk level"]
  end
  subgraph THENPART ["THEN - action"]
    A1["Allow or deny"]
    A2["Which factors"]
    A3["How often to ask again"]
  end
  C1 --> A1
  C2 --> A1
  C3 --> A1
  C4 --> A1
  A1 --> A2
  A2 --> A3
    
Figure 2: A rule has an IF part made of conditions and a THEN part made of actions

The IF part

The IF part is a list of conditions. All of them must be true for the rule to match. If you leave a condition open, it means “any.” A rule that says “any user, any device, any network” matches everyone, which is exactly what a catch-all rule does.

The THEN part

The THEN part is what Okta does when the rule matches. At the simplest level there are two outcomes: allow or deny. When the answer is allow, you can add requirements: which factors the person must show, whether the factors must be of a certain strength, and how often the person must show them again.

PartExamples
IF: peopleEveryone, a certain group, a certain kind of user such as employee or contractor
IF: deviceAny device, only registered devices, only managed devices, a particular platform such as laptop or phone
IF: networkAnywhere, inside the office network zone, outside it, or in a blocked zone
IF: riskLow, medium, or high risk of the sign-in being unusual
THEN: accessAllow or deny
THEN: proofOne factor or two, certain types only, hardware-protected, or phishing-resistant
THEN: frequencyEvery sign-in, or again after a set time

Everyday example

A rule might read: “If the person is in the Finance group, and is using a managed laptop, and is on the office network, then allow access with a fingerprint on that laptop, and ask again after twelve hours.” A second rule below it might read: “If the person is in the Finance group but none of the above is true, then allow access only with a security key, and ask every time.”

RRule Order and the Catch-All Rule

Rules are read from top to bottom, and the first match wins. This one fact explains most surprises.

Okta does not combine rules or pick the “best” one. It reads the list in order, stops at the first rule whose conditions all match, and applies that rule alone. Everything below is ignored for that sign-in.

flowchart TD
  S["Sign-in to an application"] --> R1{"Rule 1 matches?"}
  R1 -- Yes --> D1["Apply Rule 1 and stop"]
  R1 -- No --> R2{"Rule 2 matches?"}
  R2 -- Yes --> D2["Apply Rule 2 and stop"]
  R2 -- No --> R3{"Rule 3 matches?"}
  R3 -- Yes --> D3["Apply Rule 3 and stop"]
  R3 -- No --> CA["Catch-all rule decides"]
    
Figure 3: The first matching rule wins and the search stops there

Why order matters so much

Suppose Rule 1 says “everyone may open the app with one easy factor,” and Rule 2 says “administrators must use a security key.” Administrators will match Rule 1 first, because they are part of “everyone.” Rule 2 will never run. The fix is simple: put the specific, demanding rule above the general, relaxed one.

Analogy

Imagine a receptionist with a list of instructions. If the first line says “let everyone in,” the receptionist does exactly that and never reads the second line, “except strangers.” The order of the lines, not their number, decides how the receptionist behaves.

The catch-all rule

Every policy ends with a catch-all rule. It matches anyone and anything that no earlier rule matched. It cannot be deleted, but its action can usually be edited. Its default setting, and what you should choose for it, are among the most important decisions in your whole design.

Catch-all choiceEffectGood for
DenyAnyone not described by an earlier rule is refusedSensitive applications. You list who is allowed and everyone else is blocked.
Allow with strong proofUnmatched people may enter after strong verificationApplications used by many, with an unknown mix of situations
Allow with light proofUnmatched people enter easilyLow-risk applications only
!
Watch out

A catch-all that is too relaxed quietly undoes all the careful rules above it. Anyone who falls through a gap, such as a new contractor group nobody remembered to list, gets the easy path. For sensitive applications, make the catch-all deny or strong.

CCondition One: Who Is Signing In?

The first question a rule asks is about the person. Groups and user types make this question manageable.

Typing the name of every employee into every rule would be impossible. Okta solves this with groups. A group is a named collection of people, such as “Finance,” “Engineering,” “Contractors,” or “Administrators.” Rules refer to groups, and Okta checks whether the person belongs to them.

Who

Groups

The most common choice. People are placed in groups by role, department, or project, and rules follow the groups automatically.

Who

User types

Some organizations define types, such as employee, contractor, or partner, and let rules target a type.

Who

Individual users

A rule can name specific people, but this is hard to maintain and is best kept for rare exceptions.

Who

Everyone

Leaving the field open matches all users. Useful for baseline and catch-all rules.

Include and exclude

Many rules can say both who is included and who is excluded. For example, “all employees except contractors.” Exclusion is powerful but can confuse readers, so use it sparingly and name groups clearly.

Why group design is half the work

A rule is only as good as the groups behind it. If the “Finance” group contains people who left the department a year ago, they still receive Finance access. If new hires are not added quickly, they cannot work on day one. Good group habits, such as adding people automatically from the human-resources system and reviewing membership regularly, keep rules truthful.

i
Tip

Name groups for what the person is or does, such as “Payroll Team,” not for how the rule works, such as “Needs Security Key.” The rule can change; the role usually does not.

Analogy

Groups are like guest lists at an event. The doorkeeper does not memorize every guest. They look at which list you are on: speakers, staff, press, general. If a name is on the wrong list, the doorkeeper can do nothing right, however skilled.

CCondition Two: Where Are They Signing In From?

Network location is a simple and powerful clue about how much to trust a sign-in.

Every connection to the internet comes from an address, and addresses belong to networks. Okta lets you describe these as network zones. A zone is simply a named list: “Head Office,” “Home Offices,” “Partner Network,” or “Blocked Countries.”

Zone kindWhat it describesExample use
Trusted zoneAddresses you know and control, such as the officeFewer prompts from the office
Blocked zoneAddresses or places you never want to allowDeny all sign-ins from them
Anonymizer detectionKnown anonymous proxy and similar servicesDeny or demand stronger proof
Country or region zonePlaces where your business operatesBlock sign-ins from places you do not serve

What zones can and cannot tell you

Zones are a useful hint, not proof. A person working from a coffee shop appears to come from the coffee shop’s network, not the office. A traveler uses a hotel network. An attacker can route traffic through addresses that look local. So zones work best as one clue among several, and not as the only line of defense.

i
Note

Many companies now work with remote staff and cloud-based tools. A rule that says “only from the office network” can lock out half the workforce. Make sure your zones match how people truly work.

Everyday example

A company’s expense application lets staff in with a single phone approval when they are on the office network, and requires a security key when they are anywhere else. A second rule above both of them denies every sign-in from countries where the company has no employees.

CCondition Three: What Device Is Being Used?

The same person can be low risk on a company laptop and high risk on a borrowed computer.

Okta can look at facts about the device making the request. The exact options depend on your product and configuration, but they usually include the following.

Device

Platform

Is it a Windows or Mac computer, a phone, a tablet? Different platforms have different strengths and risks.

Device

Registered

Has the device been introduced to Okta, usually by installing Okta Verify, so Okta recognizes it later?

Device

Managed

Is the device controlled by the company’s device-management tools, with updates and protections enforced?

Device

Device assurance

Does the device meet stated health standards, such as a minimum operating system version, a screen lock, and disk protection?

Why device facts matter

Passwords and phone approvals prove something about the person. They say nothing about whether the computer is safe. A stolen password used on a clean, managed laptop belonging to the real employee is not the same as a stolen password used on an unknown machine halfway around the world. Device conditions let rules treat these differently.

Analogy

A bank may happily hand over cash to a customer standing at a branch counter with a known ID, but ask many more questions if the same request arrives from a payphone. The person’s name is the same. The channel is different, and so is the trust.

Device stateTypical treatment
Managed and healthyLightest checks, often a single quick gesture
Registered but not managedModerate checks, possibly limited to less sensitive applications
Unknown deviceStrong proof such as a security key, or denial for sensitive applications
Does not meet health standardsDenial or guidance to fix the device first
!
Watch out

Device conditions depend on the device being able to prove its state to Okta. Phones, laptops, and browsers differ in what they can report. Always test the rule on each kind of device your people actually use before relying on it.

CCondition Four: Does This Sign-In Look Risky?

Some conditions are not facts about the person, the place, or the device. They are judgments about the moment.

Okta can estimate how unusual a sign-in looks by comparing it with what it knows. It may notice a new location, a new device, a pattern that resembles known attacks, or behavior that differs sharply from the person’s normal habits. It then assigns a risk level, usually low, medium, or high. Rules can use this level as a condition.

Risk

Low

Looks like the person’s usual behavior. Lighter checks are reasonable.

Risk

Medium

Something is a little different. Ask for an additional or stronger proof.

Risk

High

Several signs look wrong. Require the strongest proof, or deny and notify.

Behavior detection

Beyond one overall level, Okta can watch for specific patterns such as a new device, a new city, a new country, or travel too fast to be possible. Rules can ask, “Has this person ever signed in like this before?” The answers help you tighten checks only when something is truly different.

i
Tip

Risk signals are best used to add checks in doubtful moments, not to remove checks in comfortable ones. A clever attacker may look normal. A tired employee on a trip may look suspicious. Neither signal should be treated as the final word.

Everyday example

A sales application allows quick sign-in for people who sign in from the usual city on the usual laptop. When the same person suddenly signs in from a new country at three in the morning, the rule matching a high risk level asks for a security key, and sends the person an email so they can report it if it was not them.

TThe Action: Allow or Deny

When the IF part matches, the first and biggest decision is whether the door opens at all.

The simplest action is a plain yes or no. Allow means the person may proceed, subject to whatever proof the rule asks for. Deny means the person is stopped at once and cannot open the application, no matter how many factors they could show.

ActionWhat the person seesWhen to use it
Allow with proofSign-in proceeds after the required factorsThe normal path for most rules
DenyA message saying access is not permittedBlocked countries, anonymous proxies, failed device health, people who should never have the application

Deny rules are your sharpest tool

Deny rules are easy to understand and very strong. Because the first match wins, a deny rule near the top of the list can stop a whole class of sign-ins before any other rule is read. For example, a rule at the top that denies “any sign-in from a blocked zone” protects every rule below it.

Allow-list versus block-list thinking

There are two styles of designing a policy. In an allow-list style, you describe exactly who may enter, and make the catch-all deny. Everything not described is blocked. In a block-list style, you describe who may not enter, and let everyone else through. Allow-lists are safer for sensitive applications because forgetting a case leads to blocking, which is noticed quickly. Block-lists are riskier because forgetting a case leads to letting someone in, which may go unnoticed.

Analogy

A private party with an invitation list is an allow-list: if your name is not on it, you stay outside. A public park with a few banned visitors is a block-list: anyone may enter unless their name is on the banned list. You would not guard a vault with a banned-visitor list.

i
Tip

Make the message people see on denial helpful, if your configuration allows it. “Access to this application requires a company-managed device. Contact the help desk for steps” saves far more time than a bare refusal.

TThe Action: Which Proof Is Required?

When access is allowed, the rule can say how strongly the person must prove who they are.

A factor is one way to prove identity. Factors fall into three families: something you know (a password), something you have (a phone or a security key), and something you are (a fingerprint or face). Using two different families together is called multi-factor authentication, often shortened to MFA.

RequirementMeaningStrength
Any one factorOne proof of any kind is enough, such as a password aloneWeakest
Any two factorsTwo proofs from different familiesGood baseline
Possession factor requiredOne of the proofs must be something the person holds, such as a phone or keyStronger
Hardware-protectedThe proof is tied to secure hardware in the device that cannot be copied awayStronger still
Phishing-resistantThe proof cannot be handed to a fake website, because it is tied to the true site addressStrongest

User verification

Some rules can also ask that the person prove that they are the one holding the device, not merely that the device is present. A fingerprint, a face scan, or a device PIN does this. If user verification is “required,” a phone sitting unlocked on a table will not be enough. If it is “preferred,” Okta asks for it when available.

Choice

Be as strong as the application deserves

Not stronger. Overly strong proof on low-risk applications wears people out and teaches them to approve prompts without thinking.

Choice

Offer more than one way

People lose phones and keys. A rule that allows several strong factors lets honest people recover without a help desk call.

Choice

Prefer proof that resists fake sites

Phishing is the most common attack. Factors that cannot be typed into a fake page close that door.

Choice

Remember what people have enrolled

A rule that requires a factor the person has not enrolled leaves them stuck. Align rules with the enrollment policies.

!
Watch out

Never write a rule that demands a factor type your people cannot actually use. A requirement for a hardware key, when no one has been given a key, locks everyone out. Check enrollment first, then raise the bar.

TThe Action: How Often to Ask Again

A good proof given once may be good enough for a while. The re-authentication setting decides how long.

Even when a person has a valid Okta session, a particularly sensitive application may want recent proof. The rule can ask Okta to require fresh authentication every time the application is opened, or after a set interval such as every few hours or days, or only once per Okta session.

SettingWhat the person experiencesBest for
Every sign-inAsked for proof each time the application is openedVery sensitive actions such as payroll approval or administrator consoles
After a set timeAsked again once the last proof is older than the limitImportant applications with steady daily use
Once per sessionAsked only when the Okta session beganEveryday applications of low or medium risk
Analogy

A hospital badge lets you walk the corridors all day. But to enter the medicine store, a pharmacist may check your photo again each time, even though you were checked at the front door that morning. Re-authentication is the pharmacist’s second look.

Two clocks, two jobs

It is helpful to keep two clocks in mind. The session clock says how long you stay signed in to Okta. The re-authentication clock says how recently you must have proved yourself to open this application. The second clock can be shorter than the first. Shortening the second while keeping the first long gives people a comfortable day with firm checks where it matters.

i
Tip

Put the strongest frequency on the few applications that matter most. If every application demands fresh proof every time, people will start to see the prompts as noise, and noise is where careless approvals begin.

CClassic Engine Versus Identity Engine

The same idea appears under two sets of names. Knowing which engine you have saves hours of confusion.

Okta organizations run on one of two engines. The Classic Engine is the older one and the Identity Engine is the newer one. App sign-on rules exist in both, but they are arranged differently.

TopicClassic EngineIdentity Engine
Where rules liveIn a sign-on policy attached to each applicationIn authentication policies that can be shared by many applications
ReuseRules are usually set per applicationOne policy can be assigned to several applications
Factor requirementsSimpler choices, such as prompt for factor or notFiner choices about factor types, possession, and user verification
Device conditionsMore limitedRicher, including device assurance
NamesSign-on policy, sign-on rulesAuthentication policy, rules, catch-all rule
i
Note

This post leans on Identity Engine words because they describe the clearer, newer model. If you are on Classic, the same ideas apply, but some options will be missing or named differently. Confirm which engine your organization uses before changing anything.

The advantage of shared policies

In the newer model, you can create a policy named, for example, “Standard Business Application” and assign it to forty applications. When you improve the policy, all forty benefit at once. In the older model, you might have to edit forty separate places. Shared policies reduce mistakes and make audits simpler.

Everyday example

A company with sixty applications uses four shared policies: “Low-risk,” “Standard,” “Sensitive,” and “Administrator.” Each application is assigned to one. When the security team decides to require stronger proof for “Sensitive,” they edit one policy, and twelve applications are updated together.

AA Sign-In, Step by Step

Follow one person as they open a protected application and see where each rule takes part.

sequenceDiagram
  participant P as Person
  participant B as Browser
  participant O as Okta
  participant A as Application
  P->>B: Click the application link
  B->>O: Ask Okta to sign the person in
  O->>O: Check the Okta session
  O->>O: Read the application policy
  O->>O: Find the first matching rule
  Note over O: Conditions: group, device, network, risk
  alt Rule allows with extra proof
    O->>P: Ask for the required factors
    P->>O: Show the factors
  else Rule denies
    O->>P: Show an access-refused message
  end
  O->>B: Send proof of sign-in for this application
  B->>A: Present the proof
  A->>P: Open the application
    
Figure 4: Where the application’s rules take part in a sign-in
1

The person clicks

They choose the application from their Okta dashboard or from a bookmark.

2

Okta checks the session

If there is no valid Okta session, the session rules apply first and the person signs in to Okta.

3

Okta reads the application’s policy

It collects the facts: who, where, which device, how risky.

4

The first matching rule applies

Okta walks from the top and stops at the first match.

5

Extra proof is requested if needed

If the last proof is too old or too weak for this rule, Okta asks again.

6

Okta hands the application a signed note

The note says who the person is. The application trusts it and opens.

i
Tip

Remember that the application itself may add its own rules after Okta lets the person in, such as asking for a role or showing an error if the person has no account inside the application. Okta’s rules decide who gets a signed note. They do not control what the application then does with it.

SSharing Policies Across Applications

Good administrators avoid writing the same rules sixty times.

In the Identity Engine model, a policy is a separate thing from the applications that use it. You create the policy once, give it a clear name, and assign it to as many applications as it suits. An application can have only one policy at a time, but a policy can serve many applications.

Benefit

One change, many applications

Strengthen a policy and every assigned application is protected at once.

Benefit

Consistency

Applications of similar sensitivity behave the same, which helps people learn what to expect.

Benefit

Easier audits

An auditor reads four policies instead of sixty application settings.

Risk

Wider blast radius

A mistake in a shared policy affects every application using it. Test changes carefully.

A sensible set of policies

Policy nameSuited toTypical shape
Low-riskIntranet pages, cafeteria menus, public wikisLight proof once per session, deny only known-bad sources
StandardEmail, calendars, collaboration toolsTwo factors, easier on managed devices
SensitiveFinance, HR, customer dataStrong factors, managed devices or security keys, shorter re-authentication
AdministratorConsoles that control other systemsPhishing-resistant proof, managed devices, deny from unusual places, ask every time
!
Watch out

Before you edit a shared policy, check which applications use it. A change made with one application in mind can accidentally lock out the users of ten others.

TThe Doors Into Okta Itself

Okta protects its own tools with the same kind of rules, and these deserve special care.

Two places are easy to forget. The first is the Okta Dashboard, the page where ordinary people see their application tiles. The second is the Admin Console, the place where administrators configure everything. Each is treated by Okta as an application of its own, with its own authentication policy.

Door

The Dashboard

Opening it should require reasonable proof, because it shows every application a person can reach.

Door

The Admin Console

Whoever controls this controls every rule. It deserves the strongest checks you have.

Analogy

The lock on the key cabinet should be stronger than the locks on any of the doors whose keys are inside. If a thief can open the cabinet easily, every other lock is meaningless.

Practical advice

  • Give the Admin Console the strictest policy in your organization, with phishing-resistant factors and managed devices.
  • Keep at least one emergency access method that is tested and stored safely, so that a mistake in a rule cannot lock every administrator out at once.
  • Do not let ordinary rules for the Dashboard be weaker than rules for the applications behind it.
  • Review these two policies more often than any others.
!
Watch out

A badly written rule on the Admin Console can lock you out of the place where you would fix it. Always keep a second administrator and an emergency path, and test any change with a second browser window left signed in.

DDesigning by Application Sensitivity

Start with the damage a break-in could cause. The strength of the rules follows from it.

The most useful design question is simple: if the wrong person opened this application, how bad would it be? The answer sorts applications into tiers, and each tier gets a matching policy.

flowchart TD
  Q["How bad is a wrong person getting in?"] --> L{"Harm level"}
  L -- "Little harm" --> T1["Tier 1: Low-risk policy"]
  L -- "Some harm" --> T2["Tier 2: Standard policy"]
  L -- "Serious harm" --> T3["Tier 3: Sensitive policy"]
  L -- "Control of other systems" --> T4["Tier 4: Administrator policy"]
    
Figure 5: Sensitivity decides the tier, and the tier decides the policy
TierExample applicationsProofRe-authenticationCatch-all
1Company news, cafeteria menuLightOnce per sessionAllow
2Email, chat, calendarTwo factors, relaxed on managed devicesOnce per sessionAllow with two factors
3Payroll, customer records, source codeStrong factors, managed device preferredAfter a few hoursDeny or strong
4Admin consoles, cloud accounts, security toolsPhishing-resistant, managed deviceEvery timeDeny
i
Note

The table is a sketch for discussion, not a rulebook. Your own laws, contracts, and risks will change the details. Agree the tiers with your security, legal, and business teams before you build.

How to place a new application

  1. Ask what data the application holds and what actions it allows.
  2. Ask who needs it and from where.
  3. Pick the tier whose harm level best fits.
  4. Assign that tier’s policy and test with sample accounts.
  5. Record the decision and the reason.

WWorked Examples

Let us write out three complete policies in everyday language.

Example one: the payroll application (Tier 3)

1

Rule 1: Block risky places

If the sign-in comes from a blocked zone or an anonymous proxy, deny access.

2

Rule 2: Payroll team on managed laptops

If the person is in the Payroll Team group and uses a managed laptop, allow with a fingerprint on that laptop. Ask again every four hours.

3

Rule 3: Payroll team elsewhere

If the person is in the Payroll Team group but not on a managed laptop, allow only with a security key. Ask every time.

4

Catch-all: Deny

Everyone else is refused.

Example two: the company chat tool (Tier 2)

1

Rule 1: Block risky places

Same blocked zones are denied.

2

Rule 2: Managed devices

If the device is managed, allow with a single quick gesture once per Okta session.

3

Catch-all: Two factors

Everyone else may enter with two factors, once per session.

Example three: the cloud administration console (Tier 4)

1

Rule 1: Block risky places

Deny blocked zones, anonymizers, and high-risk sign-ins.

2

Rule 2: Platform administrators on managed devices

If the person is in the Platform Administrators group and the device is managed and healthy, allow with a phishing-resistant, hardware-protected factor and user verification. Ask every time.

3

Catch-all: Deny

Nobody else, on any device, gets in.

i
Tip

Read each policy aloud as if you were explaining it to a new colleague. If you stumble, the policy is probably too complicated, and a simpler arrangement exists.

OOlder Applications and Their Limits

Not every application can follow modern rules. Some can only do what they were built to do.

Okta can only apply rules at the moment it is involved in a sign-in. Some applications are connected in ways that bypass or only partly use Okta’s decision. Others use older sign-in methods that cannot ask for modern factors. These need special thought.

SituationWhy it is trickySensible approach
Applications using older password-passing methodsThe application expects a username and password directly, and cannot show a second-factor promptMove to a modern connection when possible, or isolate and limit these applications
Direct logins that skip OktaPeople or tools may still have local application passwords that Okta never seesDisable local passwords or restrict them to emergency accounts
Background tools and scriptsNo human is present to answer a promptUse separate, tightly limited credentials designed for automation
Mobile apps with their own sign-inThey may hold tokens for long periodsCheck token lifetimes as well as app sign-on rules
Email clients using older protocolsThey often cannot handle modern factorsPlan a migration and restrict older protocols as early as practical
!
Watch out

Rules in Okta are strong only where Okta is in the path. If an application also accepts logins that never pass through Okta, attackers will find and use that side door. Always ask: is there another way in?

Analogy

You can place the best lock in the world on the front door, but if the back window is open, the lock is only decoration. Securing the application means closing the windows as well as locking the door.

WWorking Together With Other Okta Policies

App sign-on rules are one of several policy types. Understanding the neighbors prevents surprises.

Neighbor

Global session policy

Decides how long a person stays signed in to Okta and whether the cookie persists. It comes before app rules.

Neighbor

Authenticator enrollment policy

Decides which factors people may and must register. App rules can only demand what people have enrolled.

Neighbor

Password policy

Decides the strength and life of passwords. App rules decide how a password is combined with other factors.

Neighbor

Network zones

Named lists of places. App rules, session rules, and other policies can all refer to them.

Neighbor

Device assurance

Defines what a healthy device looks like. App rules can require it.

Neighbor

Behavior detection

Defines unusual patterns. App rules can ask for stronger proof when they appear.

A mental map

flowchart LR
  E["Enrollment policy - which factors exist"] --> F["Person has factors"]
  Z["Zones, device assurance, behaviors - the facts"] --> R
  S["Session policy - signed in to Okta"] --> R["App sign-on rule - decision per application"]
  F --> R
  R --> D["Allow with proof or deny"]
    
Figure 6: App sign-on rules use facts and factors prepared by other policies
i
Tip

When a rule does not behave, check its neighbors. A rule demanding a security key cannot work until enrollment lets people register one, and a rule using a zone cannot work until the zone lists the right addresses.

SSecurity: What the Rules Defend Against

Rules are only useful if they stop real attacks. Here are the common ones and the rule shapes that answer them.

AttackHow it worksRule answer
Password guessing and stuffingAttackers try common passwords, or passwords leaked from other sitesRequire a second factor on every application, and deny known-bad sources
PhishingA fake page tricks the person into typing a password and a codeRequire phishing-resistant factors for sensitive tiers
Prompt bombingAn attacker with a stolen password sends many approval requests until the person taps yesPrefer factors that need a number match or a fingerprint, and watch for repeated prompts
Stolen deviceSomeone uses a lost laptop or phoneRequire user verification, device health, and fast session clearing
Impossible travelTwo sign-ins from places too far apartAdd behavior and risk conditions that demand stronger proof
Insider misuseA person opens applications they should notTight group-based allow-lists and a deny catch-all
Rule tamperingSomeone with access weakens a policyLimit who can edit policies, alert on changes, and review them
Analogy

Good security is like a castle with layers: a moat, a wall, a gate, and an inner keep. App sign-on rules are the gate and the inner keep. They do not replace the moat (network defenses) or the wall (device protection), but they decide who reaches the treasure.

Defense in depth

No single rule is enough. Strong designs layer several protections: a careful session policy, strong enrollment, healthy devices, tiered app rules, application-side permissions, and monitoring. If one layer fails, the others still hold.

!
Watch out

Do not treat a rule as strong merely because it asks for two factors. Some second factors, such as codes sent by text message, can be stolen or tricked away. Match the strength of the factor to the value of the application.

PPrivacy, Compliance, and Audit Evidence

Auditors do not ask only whether you protect applications. They ask whether you can prove how.

Laws, contracts, and industry standards often say things like “access to sensitive data must require strong authentication” or “access must be limited to those with a business need.” App sign-on rules are the place where you turn those sentences into settings, and the records they produce are your proof.

Typical requirementHow rules helpEvidence to keep
Multi-factor authentication for sensitive systemsRules in the sensitive tier require two or more factorsPolicy export and sign-in records showing factors used
Least privilegeRules allow only named groups, with a deny catch-allGroup membership lists and review records
Access reviewsGroup-based rules make it easy to see who can reach whatPeriodic review sign-offs
Geographic restrictionsZone conditions deny disallowed regionsZone definitions and deny events
Change controlPolicy changes are approved and loggedChange tickets and Okta’s own audit trail
i
Note

Privacy rules may also apply to the data Okta keeps about sign-ins, such as locations and device details. Ask your privacy or legal team how long such records may be kept and who may read them.

Everyday example

A company is asked by an auditor to show who can reach the customer database and what proof they need. Because the database uses the shared “Sensitive” policy, the administrator exports that one policy, shows the single group named in it, and shows a month of sign-in records. The audit takes an afternoon instead of a week.

RReliability and Avoiding Lockouts

The most painful failure of a security rule is locking out the people who need to fix it.

A rule that denies too much does not just inconvenience people. It can stop whole departments from working, and in the worst case it can lock out the administrators who would repair it. A little planning prevents most such disasters.

1

Keep emergency administrators

Maintain at least two highly trusted accounts with strong, tested, offline-stored sign-in methods and clear rules about when to use them.

2

Test with a second window

While editing a policy, keep another browser window signed in, so you can undo the change if the new rule locks you out.

3

Use simulation

Where available, simulate sample sign-ins against a policy before activating it.

4

Change one thing at a time

A single small change is easy to reverse and easy to understand.

5

Roll out in waves

Apply new rules to a pilot group before everyone.

6

Keep a copy of the old settings

A written record of the previous state makes it easy to go back.

i
Tip

Plan for the day Okta or your factor provider is unreachable. Know which applications have a documented emergency path and who is allowed to use it. A plan written during an outage is rarely a good plan.

TTesting Rules Before They Matter

A rule that has never been tested is a guess written in a policy editor.

Testing app sign-on rules means checking, on purpose, that each kind of person in each kind of situation gets the result you meant. A simple method is to build a small test matrix: a table of imagined sign-ins, with the expected result next to each.

PersonDeviceNetworkExpected result
Payroll team memberManaged laptopOfficeAllow with fingerprint
Payroll team memberPersonal phoneHomeAllow only with security key
Marketing employeeManaged laptopOfficeDeny: not in the Payroll group
Payroll team memberManaged laptopBlocked countryDeny
New contractor not yet in any groupUnknownAnywhereDeny by catch-all

Ways to run the tests

Method

Policy simulation

Okta’s own simulation tool, where available, shows which rule would match for chosen conditions without a real sign-in.

Method

Test accounts

Create sample users in each group and sign in on real devices.

Method

Pilot groups

Enable the change for a small set of willing people and collect feedback.

Method

Log review

After release, read the sign-in records to confirm that the matched rules are the ones you expected.

MMonitoring, Logging, and Metrics

Okta writes down what happens. Reading those notes regularly tells you whether your rules work.

Every sign-in, denial, factor prompt, and policy change creates an event in Okta’s system log. These records are your eyes. Without them, you only learn about problems when people complain or when something goes wrong.

MeasureWhat it tells youIf it looks bad
Denials per applicationHow often rules refuse peopleA spike may mean an attack, or a rule that is too strict
Share of sign-ins by matched ruleWhich rules do the workA rule that never matches may be misplaced or unnecessary
Factor prompts per person per dayHow often people are interruptedToo many suggests fatigue and risky shortcuts
Failed second-factor attemptsPossible stolen passwordsInvestigate the accounts, consider stronger rules
Sign-ins matching high riskHow often unusual behavior occursReview whether detection is tuned correctly
Policy changesWho changed what, and whenUnexpected changes may signal tampering
Help desk tickets about accessThe human cost of the rulesLook for repeated patterns by group or application

Alerts worth setting

  • Any change to the policy or rules of an administrator console.
  • Many denials for a single person in a short time.
  • Repeated factor prompts that go unanswered, which can mean prompt bombing.
  • A new rule placed above existing ones in a sensitive policy.
i
Tip

Send the log to a central system where your security team already looks. A record that no one reads protects no one.

GGovernance, Ownership, and Automation

Rules live for years. Someone has to own them, review them, and change them with care.

Practice

Name an owner

Every policy needs a person or team responsible for its contents and reviews.

Practice

Write the reason

Beside each rule, note why it exists. A year later, the reason is what lets you change it safely.

Practice

Review on a calendar

Check each policy at least twice a year, and after any incident.

Practice

Two sets of eyes

One person proposes a change and another approves it before it goes live.

Practice

Limit who can edit

Only a few administrators should change policies, and their own accounts should have the strictest rules.

Practice

Use management interfaces carefully

Okta offers programming interfaces for reading and updating policies. These allow records and reviews, but whoever can use them can also change every rule, so protect them as you would the console.

!
Watch out

Automation multiplies both good and bad. A script that updates sixty applications correctly saves hours. A script with a small error can lock out the whole company in seconds. Test automation in a preview environment first.

DDesign Patterns That Work

These shapes have helped many organizations. Borrow the ones that fit.

Pattern

Deny first, allow next, catch-all last

Put blocking rules at the top, specific allow rules next, and a careful catch-all at the bottom.

Pattern

Tiered shared policies

A handful of named policies, each for a clear level of sensitivity.

Pattern

Trust the device, not just the person

Lighter checks on managed, healthy devices; heavier checks everywhere else.

Pattern

Step up for sensitive actions

Keep everyday access comfortable and ask for extra proof only when opening the few most sensitive applications.

Pattern

Group by role

Rules refer to role groups fed automatically from the human-resources system.

Pattern

Emergency path, tested

One documented, rehearsed way back in, kept safe and watched closely.

Make the safe path the easy path, and the risky path the visible one.

Everyday example

A software company uses four shared policies. Every policy starts with the same top rule: deny blocked zones. Next come rules for managed devices with light proof, then rules for other devices with stronger proof, and finally a catch-all that matches the tier. New applications are assigned a tier at creation time, so nobody has to design rules from scratch.

AAnti-Patterns to Avoid

These mistakes look sensible when made and cause trouble later.

AP-1Avoid
A relaxed catch-all on a sensitive application

Anyone who falls through a gap in your rules receives easy access. Make the catch-all deny or strong for sensitive tiers.

AP-2Avoid
Broad rules above narrow rules

A rule matching everyone, placed first, prevents later and stricter rules from ever running. Order from most specific to most general.

AP-3Avoid
One-off rules for individual people

Naming single users creates a tangle of exceptions that nobody can review. Use groups, and when an exception is truly needed, create a group for it and document it.

AP-4Avoid
Maximum strength everywhere

Asking for the strongest proof on every application exhausts people. They begin to approve prompts without reading, which reduces real security.

AP-5Avoid
Requiring a factor nobody has enrolled

A rule that demands something people cannot provide is a lockout in disguise. Align enrollment first.

AP-6Avoid
Forgetting the side doors

Protecting the Okta path while leaving direct application passwords active lets attackers skip the rules entirely.

AP-7Avoid
Editing shared policies without checking users

A change meant for one application can affect many. Always look at which applications use the policy before saving.

BBest Practices and Common Mistakes

A short list to carry into a design meeting.

Best practices

  • Classify applications into a few tiers before writing rules.
  • Use shared, clearly named policies.
  • Put deny rules first and specific rules before general ones.
  • Make the catch-all deny or strong for sensitive applications.
  • Use groups fed automatically from authoritative sources.
  • Prefer phishing-resistant factors for sensitive and administrator tiers.
  • Test with a matrix, simulation, and a pilot group.
  • Keep tested emergency access and a second administrator.
  • Monitor logs and review policies twice a year.

Common mistakes

  • Copying another company’s rules without understanding them.
  • Forgetting the difference between session rules and app rules.
  • Letting group membership go stale.
  • Assuming network zones prove identity.
  • Ignoring older applications and direct logins.
  • Skipping documentation of reasons.
  • Changing production policies without a way back.
  • Never looking at the logs.
  • Leaving the Admin Console with weaker rules than other applications.

TTroubleshooting: Why Can’t They Open the App?

When someone says “I’m blocked,” ask a few questions in order. Most cases are solved in the first three.

flowchart TD
  S["Person cannot open the application"] --> Q1{"Can they open the Okta dashboard?"}
  Q1 -- No --> A1["Problem is at the session gate - check session and sign-in policies"]
  Q1 -- Yes --> Q2{"Is the application tile assigned to them?"}
  Q2 -- No --> A2["Assign the application to the person or their group"]
  Q2 -- Yes --> Q3{"Which message do they see?"}
  Q3 -- "Access denied" --> Q4{"Which rule matched?"}
  Q4 --> A3["Read the sign-in record or simulate - adjust conditions, group, device, or zone"]
  Q3 -- "Asked for a factor they lack" --> A4["Check enrollment and factor requirements"]
  Q3 -- "Signed in to Okta but app shows an error" --> A5["Problem is inside the application - check the account and roles there"]
    
Figure 7: A short path for diagnosing access problems
SymptomLikely causeFirst check
Tile missing from the dashboardApplication not assigned to the personAssignments by user and by group
Denied only from homeNetwork zone conditionWhich zones the rule names and what the home address is seen as
Denied only on a personal deviceDevice condition requires managed or registeredDevice status in Okta
Asked for a security key but has noneRule requires a factor not enrolledThe person’s enrolled factors and the enrollment policy
Always asked for proofRe-authentication set to every sign-inThe matched rule’s frequency
Never asked, despite a strict ruleAn earlier broader rule matched firstRule order
Everyone locked out after a changeRule too strict or wrong catch-allRecent policy changes in the log
Okta lets them in but the application complainsAccount or role missing inside the applicationThe application’s own user list
i
Tip

Ask four questions before touching any setting: what application, what time, what device and place, and what exact message appeared. The sign-in record for that moment usually names the rule that matched.

RReal-World Scenarios

Four stories show these rules at work.

Scenario 1: The contractor who could see too much

A design agency gave a contractor access to the company’s wiki. Because the wiki’s catch-all allowed anyone with a single factor, the contractor could also reach an internal pricing page that used the same policy. The team moved the pricing page to a Sensitive policy with a deny catch-all and a named group, and the problem was closed in an hour.

Scenario 2: The new office

A company opened an office in a new city. Staff there were blocked from the finance application because the new office’s network was not in the trusted zone. The administrator added the new addresses to the zone, tested with two staff members, and the rule worked as intended.

Scenario 3: Prompt bombing stopped

An employee received dozens of phone approval requests at night after her password leaked. Because the payroll application asked for a number match and a fingerprint, the attacker could not complete the sign-in. The log showed repeated unanswered prompts, which triggered an alert and a password reset.

Scenario 4: The lockout that was avoided

An administrator changed the Admin Console policy to require managed devices. Before saving, she kept a second window signed in and tested with a spare account. The test failed because the emergency account was on a personal device, so she added a documented exception for it first. The change went live without trouble.

HHandling Exceptions Without Breaking the Design

Sooner or later someone will say, “My case is special.” Some of them will be right.

Real organizations are messy. A visiting auditor needs temporary access. A sales team travels to a country that is normally blocked. A manager insists that a single shared device in the warehouse cannot support a security key. Each request sounds reasonable alone, but if you answer each by adding a quick rule, the policy slowly becomes a heap of special cases that nobody understands.

A healthy way to treat exceptions

1

Ask what problem the person is trying to solve

Often the real need can be met inside the current design, for example by adding them to the right group.

2

Create an exception group

Never name individuals in the rule. Create a group with a clear name such as “Travelling Sales – Temporary” so that the rule stays readable.

3

Add compensating protection

If you relax one thing, strengthen another. A relaxed place condition might be paired with a stronger factor.

4

Set an end date

Write down when the exception will be reviewed or removed, and who will do it.

5

Record the approval

Note who requested the exception, who approved it, and why.

6

Review and remove

When the date arrives, confirm whether the exception is still needed. Most are not.

Analogy

A library lets members borrow books for three weeks. A teacher preparing a class may ask for a month. A good librarian says yes, writes the new date on a slip, and checks the slip later. A poor librarian says yes, writes nothing, and forgets, until half the shelves are empty and nobody knows who has what.

RequestWeak responseHealthy response
Visiting auditor needs access for two weeksAdd the auditor’s name to a rule, leave it foreverAdd to a time-limited group with read-only application permissions, and remove at the end
Sales team travels to a blocked regionRemove the region from the blocked zone for everyoneCreate a travel group with strong factors, allowed only for the trip dates
Warehouse shared device cannot use a security keyLower the factor requirement for the whole applicationUse a separate rule for that device group with a different strong factor and a short re-authentication time
Executive wants fewer promptsSkip all checks for the executiveOffer a managed device with a fingerprint, which is both quick and strong
!
Watch out

People with the most authority are often the most attractive targets for attackers. An exception made for a senior person to reduce prompts can leave the most valuable account guarded the least. Give them a smoother route, not a weaker one.

RReading a Policy Like a Story

A well-made policy can be read from top to bottom as a short story about how the company treats people.

Take a policy for a customer-records application. If you read it slowly, line by line, you can tell the whole story of how the company thinks about that data.

PositionRule in plain wordsWhat the story says
1If the sign-in comes from a blocked place or hides behind an anonymous service, deny.“We never want these, whoever they claim to be.”
2If the sign-in is high risk, deny and notify the person.“If something looks very wrong, stop and tell the real owner.”
3If the person is in Customer Support, and the device is managed and healthy, allow with a fingerprint and ask again every eight hours.“Our trusted people on trusted devices should work smoothly.”
4If the person is in Customer Support on any other device, allow only with a security key and ask every time.“Even our own people must work harder when the device is unknown.”
5If the person is in Customer Support Managers, allow with a security key and a fingerprint.“People who can see more get stronger checks.”
LastEveryone else is denied.“If we did not mention you, you do not enter.”

Spotting a story that has gone wrong

If a policy reads like a puzzle, with exceptions on top of exceptions, vague group names, and rules that no one can explain, then the policy is not telling a story anymore. It is a pile of patches. That is the moment to simplify: merge similar rules, rename groups, remove rules that never match, and write down the reasons.

Check

Can you say it aloud?

If you cannot explain each rule in one sentence, it is too complicated.

Check

Does any rule never match?

Log records show which rules are used. Unused rules are clutter and sometimes hide mistakes.

Check

Does order tell the truth?

Blocks first, specific allows next, general rules after, catch-all last.

Check

Is the last line safe?

Read the catch-all and ask what would happen if a stranger reached it.

AA Change Checklist Before You Press Save

Pilots use checklists even when they have flown ten thousand hours. Administrators should too.

Editing an authentication policy is a small action with a large reach. The following questions cost two minutes and can save an entire day.

1

Which applications use this policy?

Open the policy’s list of applications and read it. If it surprises you, stop and think.

2

Who is affected?

Estimate the number of people and groups. Decide if any need to be warned in advance.

3

Do people have what the new rule requires?

Check enrollment for each factor type that the rule demands.

4

Where does the new rule sit in the order?

Confirm that no broader rule above it will take its place.

5

What does the catch-all do now?

Read it again. Changes to rules above it can shift who reaches it.

6

Have I tested with sample accounts?

Run at least one example for each row of your test matrix.

7

How do I undo this?

Write down the previous settings and name the person who can restore them.

8

Who has been told?

Inform the help desk, the application owners, and affected groups before the change, not after.

i
Tip

Make changes at a quiet time, such as early on a weekday morning, not on Friday evening or in the last hour before a holiday. A problem found on Tuesday with the whole team present is far easier to fix than the same problem found on Saturday night.

Everyday example

An administrator plans to require managed devices for the HR application. The checklist reveals that the same policy is also assigned to the staff directory and the training portal, which contractors use from personal devices. She creates a new HR-only policy instead, assigns it to the HR application, and leaves the shared policy untouched. A two-minute check prevented a company-wide help desk wave.

CContractors, Partners, and Remote Teams

The people who work with you but are not quite your employees need rules of their own.

Companies rarely work alone. They hire contractors for a project, share tools with partner firms, and employ staff in many cities who connect from homes, cafés, and shared offices. These people are not less trustworthy, but you know less about their devices and networks. App sign-on rules are a natural place to reflect that difference.

Group

Contractors

Often use their own computers. Give access to specific applications only, require two factors, and set an end date on their accounts and groups.

Group

Partner staff

May sign in through their own company’s identity system. Rules can treat these sign-ins as a separate group with limited applications.

Group

Remote employees

Work from many networks. Rely less on office zones and more on device health and factor strength.

Group

Travelers

Appear from new places. Behavior and risk conditions can ask for stronger proof without blocking honest trips.

Principles for outside and remote users

  • Give the smallest set of applications that lets the work be done.
  • Use a separate group so that rules can be written, reviewed, and removed cleanly.
  • Require stronger or more frequent proof for sensitive applications when the device is not managed.
  • Set an end date so that access disappears when the project does.
  • Review the group regularly, because outside people come and go quietly.
Analogy

A company building has permanent staff badges and visitor badges. Visitor badges open the lobby and a meeting room, expire at the end of the day, and require an escort to the upper floors. Nobody insults the visitor by this; it is simply how buildings stay safe. Contractor rules are the digital visitor badge.

PersonApplicationsDeviceProofEnds
ContractorProject wiki and ticket tracker onlyPersonal allowedTwo factors, ask each dayOn project end date
Partner engineerShared test environmentPartner-managedPartner’s own strong sign-in plus a second factorOn contract end
Remote employeeAll standard applicationsManaged preferredFingerprint on managed device; security key otherwiseNot applicable
Traveling employeeEmail, chat, travel toolsManagedExtra proof when a new country is detectedNot applicable

Everyday example

A company hires twelve contractors for a six-month data project. The administrator creates a group called “Data Project Contractors,” assigns it to the wiki and the analysis tool, and sets the group to be removed on the project’s last day. The analysis tool’s policy has a rule for this group that requires two factors every day. When the project ends early, the group is emptied and every contractor loses access in one step.

!
Watch out

The most common gap with outside users is not weak rules but forgotten access. Accounts and group memberships outlive projects. Pair your app sign-on rules with a regular review that removes access nobody needs anymore.

UUser Experience: Making Strong Rules Feel Kind

Security that people hate gets worked around. Security that feels fair gets followed.

Every rule is also a small experience in a person’s day. A fingerprint takes one second. Searching for a security key at the bottom of a bag takes two minutes. Neither is wrong, but the difference adds up across hundreds of sign-ins. Thoughtful administrators design the experience on purpose.

Kindness

Prefer quick strong factors

A fingerprint or face check on a trusted device is both fast and strong. Offer it wherever devices allow.

Kindness

Explain refusals

A message that says what to do next turns frustration into action.

Kindness

Offer a backup factor

People lose phones and forget keys. A second allowed factor prevents a bad morning.

Kindness

Ask less, but ask better

Fewer prompts that matter beat many prompts that are ignored.

Kindness

Keep behavior consistent

Applications of the same tier should behave the same way, so people learn what to expect.

Kindness

Listen to feedback

Complaints show where a rule is confusing or where a better design exists.

Analogy

Airport security is accepted more readily when lines move, signs are clear, and staff explain what to do. The same checks feel hateful when lines are long and instructions are vague. The rule itself did not change, only the experience around it.

i
Tip

Once a quarter, sit beside a real employee and watch them open three applications. You will learn more in fifteen minutes than from a month of reports, and you will see exactly where the rules help and where they hurt.

AAdvantages, Disadvantages, and Trade-offs

Every rule buys protection and costs convenience. Good design chooses the trade deliberately.

Advantages of per-application rules

  • Protection matches the value of each application.
  • Everyday applications stay easy to reach.
  • Rules express policy in a form auditors can read.
  • Context such as device and risk lets you ask more only when needed.
  • Shared policies make changes quick and consistent.

Disadvantages and costs

  • Many rules are hard to understand and maintain.
  • Mistakes in order or catch-all can leave gaps or cause lockouts.
  • Stronger rules mean more prompts and more help desk calls.
  • Rules cannot protect side doors that bypass Okta.
  • Context signals can be wrong in both directions.
Trade-offLeaning toward convenienceLeaning toward safety
Proof strengthOne easy factorPhishing-resistant, hardware-protected factor
Re-authenticationOnce per sessionEvery sign-in
Device requirementAny deviceManaged and healthy only
Catch-allAllowDeny
Policy countOne for allMany tailored policies, harder to maintain
i
Note

The sweet spot is rarely at either end. Be generous where the person, device, and place are trusted, and firm where they are not.

AA Simple Operating Model

A repeating rhythm keeps rules healthy for years.

1

Inventory the applications

List every application, its owner, what data it holds, and who uses it.

2

Assign a tier

Decide the harm level and place each application in a tier.

3

Build shared policies

Create one policy per tier with ordered rules and a careful catch-all.

4

Align enrollment and groups

Make sure people have the factors and group membership the rules expect.

5

Test and pilot

Run the test matrix, simulate, then release to a small group.

6

Roll out and communicate

Tell people what is changing, why, and where to get help.

7

Monitor and review

Watch the logs and review every policy twice a year.

flowchart LR
  A["Inventory"] --> B["Assign tiers"]
  B --> C["Build policies"]
  C --> D["Align enrollment and groups"]
  D --> E["Test and pilot"]
  E --> F["Roll out"]
  F --> G["Monitor and review"]
  G --> A
    
Figure 8: A continuing cycle for looking after app sign-on rules

TThree Complete Walkthroughs

Three people, one system, and a clear reason behind each difference.

Anita, a payroll specialist on a managed laptop

Anita opens the chat tool in the morning. Her managed laptop matches the first allow rule, so a quick fingerprint is enough. Later she opens payroll. The Sensitive policy sees she is in the Payroll Team group, on a managed laptop, on the office network, and asks for a fingerprint again because four hours have passed since the last proof. In the afternoon she works from home on the same laptop. The payroll rule for managed laptops still matches, so she sees no change.

Vikram, a contractor on his own computer

Vikram signs in to Okta with a password and a phone approval. He opens the shared project wiki, which belongs to the Standard policy. His unmanaged computer does not match the managed-device rule, so the catch-all asks for two factors, and he passes. When he tries to open payroll by curiosity, the Sensitive policy finds that he is not in the Payroll Team group, no rule matches him, and the deny catch-all stops him. He sees a clear refusal message and no harm is done.

Farah, a cloud platform administrator

Farah opens the cloud console. The Administrator policy first checks the blocked zone rule: she is in an allowed place. The next rule checks her group, her device, and its health. All match, so Okta asks for her hardware security key and a fingerprint, every time she opens the console. When she tries from an airport kiosk during a trip, no rule matches, and the deny catch-all refuses her. She waits until she reaches her hotel and uses her own laptop.

The same system treated three people differently, and every difference had a reason someone could explain.

GGlossary in Plain Words

Quick reminders for the words used most often.

TermPlain meaning
ApplicationA program or website protected by Okta
Single sign-onSigning in once to reach many applications
App sign-on ruleA rule that decides access to one application based on conditions
Authentication policyThe Identity Engine name for an ordered list of app sign-on rules
Sign-on policyThe older Classic Engine name for a similar list
Catch-all ruleThe last rule, which applies to anyone not matched earlier
ConditionA question about the person, device, place, or risk
FactorOne way to prove identity
Multi-factor authenticationUsing two or more kinds of proof together
Phishing-resistantA proof that cannot be handed to a fake website
User verificationProof that the person, not just the device, is present
Network zoneA named list of network locations used in rules
Device assuranceA set of health standards a device must meet
Managed deviceA device controlled by the company’s management tools
Registered deviceA device known to Okta, usually through Okta Verify
Re-authenticationAsking for proof again after some time or at each sign-in
Global session policyThe rules for how long a person stays signed in to Okta
Allow-listA design that names who may enter and blocks everyone else
Prompt bombingSending repeated approval requests hoping the person taps yes

FFrequently Asked Questions

Q1What is the difference between a session policy and an app sign-on rule?
A session policy decides how a person signs in to Okta and how long that lasts. An app sign-on rule decides whether that signed-in person may open one particular application, and with what proof.
Q2If two rules match, which one applies?
The one higher in the list. Okta stops at the first match and ignores the rest for that sign-in.
Q3Can I delete the catch-all rule?
No, it is always present as the last rule. You can change its action, and for sensitive applications you usually should make it deny or strong.
Q4Can one policy protect many applications?
In the Identity Engine, yes. An application uses one policy at a time, but one policy can be assigned to many applications. Check how your own organization is set up.
Q5Why am I asked for proof again even though I just signed in?
The application’s rule may require fresh proof more often than the Okta session lasts. This is called re-authentication, and it is used for sensitive applications.
Q6Do network zones prove who someone is?
No. They are a hint about the place a request came from. Use them together with device and factor checks.
Q7What if a rule demands a factor someone has not enrolled?
They will be stuck. Align enrollment policies with app rules, and test with sample accounts before activating a stricter rule.
Q8Do these rules control what happens inside the application?
No. They decide whether Okta sends a proof of sign-in to the application. Permissions and roles inside the application are controlled by the application itself.
Q9How do I avoid locking myself out?
Keep a second administrator and a tested emergency path, make changes one at a time, test with a second window signed in, and use simulation where available.
Q10How many policies should I have?
As few as can describe your real tiers. Four to six shared policies cover most organizations, and extra ones should have a clear reason.
Q11Will the screens match this description exactly?
Not exactly. Okta’s products differ between the Classic and Identity Engines and change over time. Use this post for the ideas, and confirm exact screens, options, and defaults against current Okta documentation.

SSummary and Key Takeaways

Each application gets its own guard, and the guard reads rules from top to bottom.

App sign-on rules decide, application by application, who may enter, from where, on which device, and with what proof. They sit after the session gate and use facts and factors prepared by other policies. Good designs sort applications into a few tiers, share policies, put deny rules first, make the catch-all careful, trust healthy devices, and watch the logs. Poor designs leave side doors open, rely on one strong-looking factor, or forget to test.

Key Takeaways

  • The Okta session decides if you are signed in to Okta; app sign-on rules decide if you may open each application.
  • A rule has an IF part (people, device, network, risk) and a THEN part (allow or deny, which proof, how often).
  • Rules are read from top to bottom and the first match wins, so order specific and denying rules above general ones.
  • The catch-all rule is your safety net: make it deny or strong for sensitive applications.
  • Sort applications into tiers and use shared policies so that changes are quick, consistent, and easy to audit.
  • Match proof strength to harm: phishing-resistant factors for sensitive and administrator tiers, lighter checks for low-risk applications.
  • Test, keep emergency access, monitor logs, and review policies twice a year. Verify exact Okta screens and options against current documentation.