Join our Newsletter — 33% off our NHI Course
Home› Guides› Okta Authentication Policies and Global Session Policy Guide:…
Guide Authentication

Okta Authentication Policies and Global Session Policy Guide: Designing Sign-on Rules That Hold

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 18 November 2026 16 min read
On this page

In Okta Identity Engine, every sign-in is judged twice: once by a global session policy that decides whether a user may hold an Okta session at all, and again by an app sign-in policy that decides what that user must prove before reaching a specific app. Most MFA gaps in Okta tenants are not missing features. They come from rules placed in the wrong order, a shared default policy edited without noticing how many apps use it, or a global session rule that quietly lets a password alone create a long session. This guide explains how the two policy layers work, how rules are evaluated, which settings matter most, and how to design a policy set that keeps holding as apps and groups change.

It is written for Okta administrators, identity architects and security teams reviewing an Identity Engine tenant. It goes deeper on policy design than our Okta Security Hardening Guide, which covers the wider tenant, and it pairs with the Okta FastPass and Okta Verify Guide for the authenticator side.

This is an independent guide from NHI Mgmt Group, based on Okta's public documentation as of November 2026. It is not sponsored or reviewed by Okta. Product features change, so confirm settings against Okta's current documentation.

Key takeaways

  • Okta Identity Engine uses two main layers for sign-in: the global session policy, which governs the Okta session, and app sign-in policies (often called authentication policies), which govern access to each app.
  • Rules in both layers are evaluated in priority order and evaluation stops at the first match, so a broad rule placed above a narrow one silently wins.
  • Every new app starts on the shared default app sign-in policy, except API service apps. Changing that policy changes every app assigned to it.
  • The strongest control most tenants underuse is the possession factor constraint: phishing-resistant, hardware protected and user verification requirements on the rules that guard sensitive apps.
  • Session lifetime, idle time and the MFA prompt frequency in the global session policy decide how long a stolen session stays useful. "No time limit" belongs only in low-risk, low-assurance cases.
  • Location alone is a weak deny condition. Okta itself warns that IP geolocation is not guaranteed.
  • Treat policy as code: name rules clearly, record why each exists, and test changes with Okta's access testing tooling before applying them to production apps.

How the policy layers fit together

Okta describes the global session policy as the policy that supplies the context a user needs to advance to the next authentication step once Okta has identified them. It decides whether access is allowed, whether a challenge is needed, and how long to wait before prompting for another challenge. Every org has a default global session policy that applies to all users. That default allows access with a password, an identity provider, or any factor allowed by the app sign-in policies.

App sign-in policies, in Okta's words, define how a user must authenticate to gain access to an app. They check requirements such as group membership, the network zone of the sign-in and risk level. You can create a unique policy per app, or share one policy across many apps. Okta also provides preset policies for apps with standard sign-in requirements.

Okta's own guidance summarises the division of labour neatly: the global session policy controls overall session validity, while app sign-in policy rules control re-authentication frequency for each app. A useful mental model is:

  • Global session policy: may this person have an Okta session, how was it established, and how long does it last?
  • App sign-in policy: given that session, what must this person prove, from what kind of device and network, before this app opens?
  • Okta account management policy: what must a person prove to enrol or remove authenticators, recover a password or unlock an account? Okta lists this as a related policy that sets requirements for those account actions.

Each app sign-in policy also carries a user identification policy that Okta creates automatically. It controls parts of the Sign-In Widget experience, such as whether the Sign in with Okta FastPass button appears before a user is identified. You cannot create, delete or reassign it separately from its app sign-in policy.

The practical consequence is that a strong app rule cannot fully compensate for a weak session rule, and the reverse is also true. A tenant that requires phishing-resistant authentication for its finance app but lets anyone establish a twelve-hour session with a password has a strong door on one room and an open front door.

Rule evaluation: priority, first match and the catch-all

Both layers are lists of policies, and each policy is a list of rules. Okta states that rules are evaluated in priority order and evaluation stops at the first match. Its advice is to put restrictive rules above broad ones, such as a rule that applies to everyone. A policy can have any number of rules but must have at least one.

For app sign-in policies, each new policy starts with a single catch-all rule that allows access with any two factor types. You add rules above the catch-all to set specific authenticator requirements. The shared default policy that new apps receive also has a single catch-all rule that allows access with two factors.

Three design rules follow from first-match evaluation:

  1. Order from specific to general. Deny rules and high-assurance rules for privileged groups sit at the top. The catch-all sits at the bottom.
  2. Decide what the catch-all means. It is the rule that applies to anyone you forgot. For sensitive apps, many teams make it stricter than the rules above it, or make it deny, so that a missed group fails safe rather than open.
  3. Check exclusions every time. Global session policy rules let you exclude individual users from a group. Each exclusion moves that user further down the list, often to a weaker rule. Track exclusions in an exception register, such as our MFA Exception Register Template.

In the default rule of the default global session policy, Okta allows only four settings to be edited: Establish the user session with, Multifactor authentication (MFA) is, Users will be prompted for MFA, and Maximum Okta global session idle time. If you need different conditions or a session lifetime limit, add a higher-priority rule or a new policy above the default.

Designing the global session policy

The global session policy rule has IF conditions and THEN settings. The conditions are:

  • User's IP is: Anywhere, In zone or Not in zone, with all zones or specific zones.
  • Identity provider is: Any, Okta or a specific IdP. Okta marks the specific IdP option as Early Access, enabled through Okta Support.
  • Authenticates via: Any or LDAP interface.
  • Behavior is: a behaviour type or named behaviour.
  • Risk is: Low, Medium or High.

The THEN settings are where most risk sits:

  • Access is: allow or deny.
  • Establish the user session with: a password, or any factor used to meet the authentication policy requirements. The second option is what makes passwordless sign-in possible.
  • Multifactor authentication (MFA) is: whether MFA is required at the session layer.
  • Users will be prompted for MFA: at every sign in, when signing in with a new device cookie, or after the MFA lifetime expires for the device cookie. Okta notes the last option is enforced only when a new session is created or the user changes devices.
  • Maximum Okta global session lifetime: no time limit, or a set limit. With no time limit, sessions still expire at idle timeout, and Okta says this is only for low-risk, low-assurance use and should not be combined with behaviour or risk conditions.
  • Maximum Okta global session idle time: sessions expire after this idle period regardless of lifetime.
  • Okta global session cookies persist across browser sessions: appears only if usePersistentCookie is set through the Okta API. Okta notes persistent cookies are never set for Okta admins.

Okta gives specific pairing advice. For high-risk behaviour or a High risk condition, set MFA to At every sign in, and do not combine those conditions with a per-device or per-session MFA requirement. The new device cookie option is for low-risk cases and should not be used with behaviour conditions.

A pattern that works for many workforce tenants, offered here as an NHI Mgmt Group recommendation rather than an Okta default:

Rule (top to bottom)ConditionKey settings
Deny high riskRisk is HighAccess denied, or allowed with MFA at every sign in where denial is too disruptive
AdminsGroup: Okta administratorsSession established with any factor used to meet the authentication policy; MFA at every sign in; short lifetime and idle time
WorkforceEveryone else in the workforce user typeSession established with any factor used to meet the authentication policy; set lifetime limit; idle time aligned to your policy
DefaultCatch-allKept strict, so anyone missed by the rules above still meets MFA

Remember the Admin Console has its own session lifetime and timeout, configured separately from the global session policy. Review both.

Designing app sign-in (authentication) policies

An app sign-in policy rule has a rich set of conditions. In Okta's rule editor they include the user type, group membership, specific users, device state (any device or Registered, meaning enrolled in Okta Verify), device management, device assurance policy, device platform, network zone, risk level and a custom expression in Okta Expression Language. Device management and device assurance conditions are only available when the device state is Registered.

The THEN side sets what the user must prove:

  • THEN Access is: denied, or allowed after successful authentication.
  • AND User must authenticate with: one factor type (Password, Password/IdP, Possession factor, Any 1 factor type), two factor types (Password + Another factor, Any 2 factor types), or an authentication method chain that requires a specified sequence of methods.
  • AND Possession factor constraints are: phishing-resistant, hardware protection, require user interaction, and require PIN or biometric user verification. These are not available with Password or Any 1 factor type.
  • AND Authentication methods: allow any method that meets the requirement, disallow specific methods, or allow only specific methods.
  • Prompt for authentication: every time the user signs in to the resource, after a set time since sign-in to any resource under the active global session, or when no global session exists. Okta describes every time as the most secure option and notes a ten-second grace period after authentication.

Okta's own example of layering is simple: one rule prompts everyone for a password, and a second rule prompts a specific group for email and password. Real tenants usually need a tiered set. A practical approach is to create three or four shared policies by sensitivity, rather than one per app:

  • Standard: any two factor types, re-prompt after a set time.
  • Sensitive: two factor types with the phishing-resistant constraint, registered device required.
  • Privileged: phishing-resistant and hardware protected, user verification required, device assurance policy required, prompt every time.
  • Deny by default: for apps under migration or decommission.

Sharing policies keeps the rule count manageable. Okta states there is no limit to how many apps can share a policy. The trade-off is blast radius: an edit to a shared policy changes every app on it, which is exactly why the shared default policy deserves care.

The shared default policy trap

All new apps start with the shared default app sign-in policy, except API service apps. Okta states that changes to it are applied to both new and existing apps assigned to it. Two failure modes follow.

First, an administrator weakens the default to fix one app's sign-in problem and unknowingly weakens dozens of others. Second, new apps inherit whatever the default currently says, so a new integration may launch with weaker requirements than its data deserves.

Mitigations:

  • Keep the shared default reasonably strict, so new apps launch safely, and move apps deliberately onto tiered policies.
  • Make "assign the correct app sign-in policy" a required step in your app onboarding checklist.
  • Before editing any shared policy, list the apps assigned to it and record the change.
  • Review periodically which apps still sit on the default. The Okta System Log Detection Guide covers the events that show policy changes.

Possession factor constraints and phishing resistance

The possession factor constraints are the most important settings for closing modern attack paths such as adversary-in-the-middle phishing (ATT&CK T1557) and session cookie theft (ATT&CK T1539).

  • Phishing-resistant: Okta describes this as requiring factors that cryptographically verify the sign-in origin. Passkeys (FIDO2 WebAuthn) and Okta FastPass satisfy it.
  • Hardware protection: requires keys stored in secure hardware, such as a TPM on Windows and Android or the Secure Enclave on macOS and iOS. Okta Verify satisfies it only if it can use secure hardware, and Okta lists limitations, including that enrolments before 30 November 2022 and FIDO U2F enrolments are not supported, and Firefox enrolments are not currently supported.
  • Require user interaction: requires proof of physical presence. Okta notes that without it, Okta Verify may use certificate-based authentication without that proof.
  • Require PIN or biometric user verification: applies to user-presence authenticators including Okta Verify with Push, Passkey, Okta FastPass, Custom Authenticator and Smart Card. User verification must also be enabled in each authenticator and set to Required in the enrolment policy, otherwise users who enrolled without it cannot authenticate.

Rolling these out usually breaks someone. Before switching a rule to phishing-resistant, confirm which authenticators each affected group has enrolled, and give them a path to enrol FastPass or a passkey first. Our Phishing-Resistant MFA Guide covers the rollout sequence in vendor-neutral terms.

Security questions need special care. Okta notes they can be used for MFA and SSO or for recovery only, but advises not to use them in any authentication flow, and they cannot be an additional factor when Okta FastPass grants access without proof of physical presence.

Network zones, risk and device conditions

Network zones are useful but fragile. Okta warns twice in its rule documentation that IP addresses are dynamic, geolocation is not guaranteed, and you should not create a policy that depends only on location to deny access. Use zones to raise requirements, for example requiring phishing-resistant factors outside corporate zones, rather than as the only line of defence.

Risk conditions let a rule react to Okta's risk level. The pairing rule from Okta applies: when you use High risk or a behaviour condition, prompt for MFA at every sign in rather than relying on device or session cookies.

Device conditions are where authentication policies join device trust. A rule can require a Registered device, a managed device, a specific platform, or one or more device assurance policies. Okta notes that device management and device assurance conditions require a device signal collection rule if your policy uses one. Platform matching has edge cases: Okta documents that rules do not recognise ChromeBook as ChromeOS in Firefox or Opera, and that FastPass is not supported on ChromeOS. For the broader concept, see Device Trust vs User Authentication.

LDAP interface and other special paths

Not every authentication reaches Okta through the Sign-In Widget. Okta documents that global session management settings are disabled when users authenticate through the LDAP interface, and that when the Authenticates via condition is LDAP interface, the Establish the user session with setting has no effect. LDAP bind requests may still require a username, password and MFA.

This matters because LDAP interface integrations are often legacy systems with service-style accounts. Give them their own clearly named rules, review which accounts use them, and do not assume the session controls you designed for browsers apply. Our guide to finding accounts excluded from MFA and Conditional Access describes how to inventory accounts that fall outside browser policy.

API service apps are another special path. They do not start on the shared default policy. Govern them through their own authorisation controls, as covered in our guide to auditing Okta API tokens and service apps.

Testing, change control and monitoring

Okta's documentation lists policy tooling alongside its policy topics, including policy branches, the Policy Insights Dashboard and the Access Testing Tool. Whatever tooling you use, apply three habits:

  1. Test before you save. Simulate representative users (admin, contractor, standard worker, service account) against each app before and after a change.
  2. Change one thing at a time. Policy interactions are hard to reason about. Small, named changes are easier to roll back.
  3. Watch the logs after each change. Look for unexpected denials, unexpected allows with fewer factors, and spikes in help desk resets.

Export policies regularly so you can compare configurations over time. Drift between what the design document says and what the tenant enforces is a common audit finding.

Common failure patterns

  • Catch-all too weak: a group missing from the rules above lands on a rule that allows a password and one other factor, or worse, a single factor.
  • Broad rule above narrow rule: an "Everyone" rule placed first means the stricter admin rule below never matches.
  • Edited shared default: a fix for one app weakens every app on the default policy.
  • Password-only sessions: the global session rule establishes sessions with a password and no MFA, relying on every app policy to compensate.
  • Long or unlimited sessions: no time limit combined with risk or behaviour conditions, against Okta's own advice.
  • Location as the only deny: attackers using residential proxies inside an allowed country pass straight through.
  • User verification mismatch: a rule requires PIN or biometric verification, but the authenticator enrolment policy still allows enrolment without it, so users are locked out.
  • Forgotten exclusions: users excluded from a rule for a migration years ago still bypass it.

Practitioner checklist

  • List every global session policy and rule in priority order, and confirm the most restrictive rules are at the top.
  • Confirm the default global session rule does not establish sessions with a password alone without MFA.
  • Set a session lifetime limit and an idle time for every workforce rule; reserve no time limit for documented low-risk cases.
  • Review the Admin Console session settings separately.
  • Inventory which apps sit on the shared default app sign-in policy and move sensitive apps to tiered policies.
  • Apply the phishing-resistant constraint to privileged and sensitive app rules, after confirming users have enrolled FastPass or a passkey.
  • Align user verification settings in rules with the authenticator and enrolment policy settings.
  • Make every catch-all rule fail safe.
  • Review rule exclusions quarterly against an exception register.
  • Give LDAP interface traffic dedicated rules and review the accounts that use it.
  • Test policy changes with representative users before saving, and monitor the System Log afterwards.

Standards and references

Related NHI Mgmt Group resources: Okta Security Hardening Guide · Okta Classic Engine Upgrade · Okta Admin Roles Security Guide · MFA Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.