Manage policies
In an authentication policy, you define an action to take during an authentication request when it meets a certain condition for a specified event. A settings policy instead gives the members of chosen groups their own values for user and organization settings.
Go to Policies in Workforce Authority to review existing policies, and to create, update, or delete them.
To read, create, update or delete authentication policies from your own tools, use the policies endpoints of the Core APIs. Settings policies are not available there.
Manage a policy
-
Log in to Workforce Authority, and from the left navigation, click Policies.
The list groups policies by event. Under Authentication, actions stack in the order they win; see How authentication actions are prioritized. Settings policies are numbered by priority; see Which value a user gets. Each policy shows its conditions and the applications it applies to. A policy with groups shows each group as a box of its conditions, joined by or or and, with NOT before anything reversed. A group inside a group shows as a count, such as any of 3, and a group of one condition type as Network (any of 3). A group with only one condition on shows as that condition. A policy whose conditions are all off shows Every sign-in.
Click or tap a description or application name that ends in "…" to read it whole. For application names on a row with a count such as +3, click the count instead; it shows every application in full.
Policies that are turned off collect under a toggle at the bottom of their group, sorted by action; settings policies that are off keep their place in the order. When an action holds more than ten policies, the button below the tenth shows the rest.
To find a policy, type in the search box. It matches names, descriptions, events, actions and application names, and shows every match, including policies that are off.

-
Do one of the following:
-
To create a policy, click Create New Policy at the top right of the list.
-
To edit a policy, click its name or the pencil icon on its row.
-
To delete a policy, click the trash bin icon on its row and confirm.
-
-
When creating or editing a policy, set the details in the Policy Information section.
As a reference to configuration settings, see Policy Information.

-
In the When section, add the conditions that trigger the policy's action. Select Add condition, search for a condition or pick one from the list, then fill in its fields.
When an authentication or enrollment event meets every condition, it invokes the policy. The logic between conditions is AND.
As a reference to the configuration settings, see When.

-
Next, select the Action you want the policy to take when it meets all the conditions.
The actions on offer depend on the event you selected in the Policy Information section.
As a reference to the configuration settings, see Actions.
To learn more about how Workforce Authority prioritizes actions, see How authentication actions are prioritized.

Actions for Authentication events

Actions for Enrollment events
-
Save your changes.
Policy Information
For the Policy Information section, see the following field descriptions.

Name
Name of policy.
Description
(Optional). Description of policy.
Event
Select the event on which the policy will be evaluated. Available options:
-
Authentication – Policy applies to first-time authentication events and continuous authentication events.
For example, a user logs in to a SAML-based application and it provides continuous authentication access when the user switches to another SAML-based application while still logged in.
-
Enrollment – Policy applies to users logging in for the first time.
For example, when a user logs in for the first time, it forces device pairing.
-
Settings – Policy gives the members of chosen groups their own values for user and organization settings. See Settings policies.
Applications
To universally apply this policy to all applications, select the Apply to All Applications check box.
Otherwise, search for each application the policy applies to and pick it. Each pick shows as a chip. Remove one with its ×. A long list folds after two rows behind Show all.
Enabled
To make this policy active, turn on the Enabled switch.
Predefined
To show this policy on the Standard policies page, select the Predefined check box.
When
For the configuration settings in the When section, see the following field descriptions.

When an authentication or enrollment event meets every condition, it invokes the policy. The logic between conditions is AND. To match any one of several conditions instead, put them in a group. See Group conditions.
The section lists the policy's conditions on the left, one line each. Select a condition to edit it on the right.
- Add condition opens a searchable list, grouped by what each condition checks. A condition the policy already has is marked Added. A condition that doesn't fit the event says why.
- The switch beside a condition's name turns it off. An off condition stays in the list until you save, but the policy doesn't use it, and saving removes it. With grouping on, saving keeps it, still off.
- Remove takes the condition off the policy. Select Undo to bring it back.
- A long list of chips folds after two rows behind Show all. A warning chip never hides behind it.
- A condition of a type the editor can't show, such as a location condition created through the API, is listed as Unsupported condition with its name. Its switch only shows whether it's on. Saving keeps it unchanged, on or off, and Remove takes it off.
Always
Apply this policy in all circumstances for the specified applications and event.
Adding Always replaces every other condition but an unsupported one, which stays listed beside it. If that one is on, Always shows off, since the policy runs that condition either way. Select Undo to get them back.
For example, you want to temporarily disable MFA for all users.

Overall LOA Score
Set the range of LOA scores that triggers the policy.
Scores run from 0.0 to 4.0. Drag either handle on the track, or type a bound in the At least and At most boxes. Leave a box empty to leave that end open.
For example, if you set At least to 3 and select the Automatically Approve action, the user signs in without MFA when their LOA score is 3 or higher.
To learn more, see LOA score.

Password Last Used
Set how long ago the user last entered their password. Choose At least or At most, then enter a number of days or select a preset of 7, 30 or 90 days. A sentence below the field restates the rule.
Login Type
Set the ways the user signs in. Select one or more tiles. Available only for Authentication policies. The QR code tile appears only when your organization requires secure storage, or when the policy already uses it.
Authentication Method Used
Set the methods the user's last sign-in used. Search the list, then check one or more methods. Available only for Post Authentication policies.
Security Escalation Request
Set the secure operation the user attempts. Reset Password is the only one today, so it is chosen for you.
Directory Groups
Set the directory groups a sign-in matches. It matches when the user belongs to any of them.
Choose a Directory, then search for a group by name and click a result to pick it. The results stay open, so you can pick several from one search. Each pick shows as a chip with its directory's name. Click a chip's × to remove it.
Some directories offer search options, such as Include built-in groups. Checking one runs the search again.
A saved group that its directory no longer has shows as a warning chip with the group's ID. Click its × to remove it. If the directories or the saved groups don't load, select Try again.

Network
Set condition based on the IP address of the user.
You can specify one or more IP addresses or a range of IPs using CIDR notation. Enter one per line. Commas and spaces also separate entries, so you can paste a list like 1.2.3.4,1.2.3.5,1.2.10.0/24.
Write a range with a prefix length, not a netmask. 198.51.100.0 255.255.255.0 blocks the save, and the field asks for 198.51.100.0/24 instead. A wildcard mask does the same: 198.51.100.0 0.0.0.255 asks for 198.51.100.0/24. Only masks starting with 0. count as wildcard masks, so 198.51.100.0 1.255.255.255 stays two addresses. A 0. mask with gaps matches no single range: 198.51.100.0 0.0.255.0 blocks the save, and the field asks you to list its ranges as CIDRs. An entry that isn't an IP address or range blocks the save. The field names up to three and counts the rest.
The field warns on any address from 240.0.0.0 up, since no sign-in comes from one. Older policies may hold a netmask saved as its own entry, so 10.0.0.0 255.0.0.0 could have been stored as 10.0.0.0 and 255.0.0.0. When the entry before such a netmask is an address, Join as replaces the two with their CIDR, 10.0.0.0/8. The warning doesn't block the save, and nothing changes until you join and save.
Private ranges adds the private IPv4 and IPv6 ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 and fc00::/7. They appear as ordinary entries you can edit or delete.

Country
Set the countries where a sign-in matches. With more than one, it matches when the user is in any of the selected countries.
Search by country name or code, then click a country to pick it. Each pick shows as a chip. Click a chip's × to remove it.
Turn on Include mobile location to also match when the user's mobile device is in one of these countries.

Timezone Offset Delta
Compare the time zone on the user's device clock with the time zone of their IP address. A large gap can point to a VPN or a proxy.
Choose At least or At most, then type the gap in minutes or drag the handle on the ruler. With the handle selected, the arrow keys move it in 15-minute steps, Page Up and Page Down in one-hour steps, and Home and End jump to the ends.
The example city pairs highlight when they would match. Each pair is a device clock in one city and an IP address in the other.
If either time zone is unknown sets the outcome when the policy can't read one of the two: Don't match or Match. The sentence below the controls restates the rule.
No two time zones are more than 26 hours apart, so the ruler stops there. A larger saved value is kept, with a note.
For example, At least 180 minutes matches a device clock in Dubai signing in from a Bangkok IP address.

Time of Day
Set the hours and days when a sign-in matches, in a time zone you choose. A week ribbon shows when it matches.
Click the time zone to search for another. Use my time zone sets your browser's zone.
Type 24-hour times in From and To, or drag the handles above the ribbon.
Click a day's name to turn it on or off, or choose Weekdays, Weekends or Every day. No day picked means every day.
A saved time zone that sign-in checks don't recognize is flagged and read as UTC, and the policy won't save until you pick a zone. Saved days that aren't a list are flagged, and the policy won't save until you pick the days again. Turning the condition off also lets the policy save, as long as another condition stays on. With grouping on, an off condition still saves, so remove the condition instead.
A window can end the next day, such as 22:00 to 06:00. The hours after midnight belong to the day the window started. With Monday to Friday picked, 22:00 to 06:00 matches at 02:00 on Saturday but not at 02:00 on Monday.
For example, combine it with the Country condition to add friction for users in one country who sign in outside business hours or on weekends.

Login to other applications
Set the applications the user must have signed in to recently. It matches when the user signed in to any of them within the time you set.
Search for an application, then click it to pick it. Each pick shows as a chip. Click a chip's × to remove it.
In Signed in within, type a number and choose seconds, minutes, hours or days.
Turn on Require matching IP address to match only when that sign-in came from the user's current IP address.
For example, you can define a policy to auto-approve a user authentication request to a web application if the same user has used MFA to their Windows machine from the same IP address within the past 5 minutes.

Paired Desktop Workstation
Set condition based on whether the user has a paired workstation with specified configurations. It will invoke the policy action only if it matches every check you add.
This allows granular control over when to apply this policy.

A new condition has no checks. Select Add a check and pick one from the menu; it appears as a row. The X at the end of a row removes that check. The condition needs at least one check with a value. You can add any of the following:
-
Workstation State – Indicate the status of the workstation at the time of the authentication event to meet this condition. Options are: Logged In, Logged Out, Locked, Unlocked, Login Failed.
-
Workstation Name – Enter the name of the workstation or enable Regex to create a matching pattern.
-
User Name – Enter the login username or enable Regex to create a matching pattern.
-
Public IP – The public IP address of the workstation where the authentication attempt is coming from. It takes entries and warns as the Network field does: one per line, a range with a prefix length, and no netmask or wildcard mask.
-
LAN IP – The local IP address of the workstation where the user login is coming from. It takes entries and warns as the Network field does: one per line, a range with a prefix length, and no netmask or wildcard mask.
-
Network Interface MAC – The network interface MAC address of the workstation where the authentication attempt is coming from.
-
Gateway MAC – The gateway MAC address of the network where the workstation login is coming from.
-
Operating System / Version – Indicate whether the condition applies to a specific operating system of workstations. Options are: Any, Windows, or macOS. Enter a version to match that version only.
Auto Updates, User Password, Secure Boot, Bitlocker and Firewall each match Enabled or Disabled. A new one starts on Doesn't Matter, which adds no requirement until you pick one.
-
Auto Updates – Indicate whether to check if the workstation has operating system automatic updates enabled.
-
User Password – Indicate whether to check if the workstation has password login enabled.
-
Secure Boot – Indicate whether to check if the workstation has secure boot enabled.
-
Bitlocker – Indicate whether to check if the workstation has Bitlocker enabled.
-
Firewall – Indicate whether to check if the workstation has a firewall enabled.
Operating system
Set the operating systems a sign-in matches. It matches when the sign-in's browser reports any of the ones you pick.

Select one or more tiles: Windows, macOS, ChromeOS, Linux, iOS and Android.
The browser reports its operating system, and a user can change what it reports. Use the condition to aim a policy, such as forcing MFA on desktop browsers for one group. Don't rely on it as a control on its own.
Safari on iPad asks for desktop sites by default, so most iPads report macOS. An Android browser asking for a desktop site reports Linux.
A sign-in whose browser reports another operating system, or one Workforce Authority can't name, doesn't match, so under NOT it matches. A sign-in with no user agent, or one too long to read, can't be checked: it doesn't match, and under NOT it leaves the policy undecided. See When a sign-in lacks what a condition checks.
History shows the operating system each sign-in reported, under Browser.
Paired Desktop Workstation's Operating System / Version check is different. It reads the paired workstation, not the sign-in's browser.
The condition isn't available on Passkey Enrollment policies, which carry no user agent. Add condition lists it as unavailable. Saving one that would run on that event, or moving a policy that holds one to it, is refused here and through the Core APIs.
AI agent
Set condition based on DBFP's verdict on whether an AI agent is driving the sign-in. The condition needs AI agent detection turned on for your organization. That setting works only once DBFP's own agent detection is on for your deployment. It applies to authentication events, including continuous authentication.
Verdicts
Choose at least one.
- Agent – DBFP judged an AI agent is driving.
- Uncertain – DBFP could not tell an agent from a human.
- No verdict – Detection ran on this sign-in step and returned no answer. A click that comes before DBFP's script has loaded gets No verdict. So does a sign-in DBFP doesn't answer in time. DBFP also judges only a limited number of sign-ins per network address each minute. Users behind one corporate gateway share that limit, so at busy times some of their sign-ins get No verdict.
A human verdict never matches.
A client that blocks DBFP's agent script, or removes what it adds to the sign-in, gets No verdict, not Agent. To catch agents, choose No verdict as well as Agent.
High confidence only
Limits Agent to DBFP's high-confidence verdicts.
Require a fingerprint on every request
No verdict then also matches requests that carry no fingerprint, such as API calls. This can block or step up every sign-in with no fingerprint, such as API or RADIUS. Some deployments' SSO login pages collect no fingerprint yet. There, SSO sign-ins match too.
On the username form, Workforce Authority asks DBFP for the verdict itself when the form arrives, and only that answer counts. On the passkey and QR buttons, a verdict counts only when it arrives in a DBFP token whose signature Workforce Authority verified. It stops counting about 2 minutes after the click.
The check runs only on Workforce Authority's own sign-in page (the username form, the passkey button and the QR button). Continuous authentication acts on a verdict only when the calling application sends one.
Pair the condition with an action:
- Automatically Reject blocks the sign-in.
- Force Out Of Band steps the sign-in up. Under Allowed Methods, choose Only these methods and pick Symbol push, Passkey or both. A user with none of the allowed methods registered can't answer it, so their sign-in is rejected.
A passkey proves a person is there only while it lives on a security key, or on the device's built-in authenticator that asks for a fingerprint, face or PIN. A passkey held in software the agent controls, such as an automated browser's virtual authenticator, passes the step-up with no one there. If that matters to you, leave Passkey out and allow Symbol push alone. See When a passkey proves a person is there.
No verdict matches every sign-in DBFP couldn't judge. That includes a DBFP outage or slow answer, a blocked script, a click before DBFP's script loads, and DBFP's per-address limit. Automatically Reject on No verdict can therefore lock everyone out, administrators included. Pair No verdict with Force Out Of Band instead. Limit that step-up to one method only once every user has registered it.
Workforce Authority never offers device pairing in a session that an AI agent policy stepped up, or that any policy stepped up after DBFP judged the sign-in an agent. Each sign-in that DBFP judged an agent, and each that an AI agent policy on the Authentication event decided, is recorded as an AI agent detected security event.
Passkey Device Type
The Passkey Device Type condition matches on the passkey itself. On the Passkey Enrollment event, that's the passkey being registered. On other events, it's the passkey the person signed in with, when the sign-in starts with a passkey through an application. A sign-in that didn't, or that used a passkey only as a second factor, has no passkey for the condition, so the condition doesn't match it. The condition matches when the passkey is one of the listed devices, or belongs to one of the listed groups.
Devices and groups
Type at least three characters of a model's name to find a device, such as YubiKey or Feitian.
While passkey groups are turned on for your organization, the same box also lists groups of authenticators. Select the box without typing to browse them.
- FIDO metadata – a property of the authenticator's entry in the FIDO Alliance Metadata Service (MDS), such as how it protects its keys. Pick a property, then one of its values. Each value shows how many authenticators have it today.
- Community passkeys – passkeys from password managers and platforms, such as iCloud Keychain, Google Password Manager and 1Password.
- SecureAuth authenticator apps – passkeys created by SecureAuth's authenticator apps.
Each choice becomes a token in the condition. Workforce Authority works out a group's members each time the policy runs, so the policy follows the metadata as it changes. Hover a token to see which authenticators it covers today. A token marked Matches nothing covers none today, for example when a newer metadata release dropped its value. One marked From a newer release came from a later version of Workforce Authority, or holds a value this version can't use; remove it to save the policy.
| FIDO metadata property | What it describes | Example values |
|---|---|---|
| FIDO certification level | The highest FIDO certification level the authenticator has held | L1, L2, L3+ |
| Certification · program | A security certification and its level, one entry per program | FIPS-CMVP-3 · Level 2 |
| Key protection | Where the authenticator keeps its keys | Hardware, Secure element, Software |
| Attachment | How the authenticator connects to the device | Internal, External, NFC, Bluetooth |
| Transport | The transports the authenticator supports | USB, NFC, Bluetooth Low Energy, Hybrid |
| User verification method | How the authenticator verifies the person | Fingerprint, Face, Passcode, User presence |
| Matcher protection | Where the authenticator checks a fingerprint or PIN | On chip, Trusted execution environment, Software |
| Attestation type | How the authenticator proves its make and model | Basic full, Self attestation, Attestation CA |
| Crypto strength | The strength of the authenticator's keys | 128 bits |
| Key restricted | Whether the authenticator's keys sign only passkey requests | Yes, No |
| Fresh user verification required | Whether the authenticator verifies the person on every use | Yes, No |
The values come from the FIDO Alliance's Metadata Service. A token matches only authenticators whose entry carries that exact value. To allow several values of one property, add a token for each. A level token doesn't include higher levels: L2 doesn't match an L2+ or L3 authenticator.
For example:
- To allow only authenticators certified to FIPS 140-3 Level 2, add Certification · FIPS-CMVP-3, then Level 2.
- To allow only authenticators that keep their keys in hardware, add Key protection, then Hardware.
- To allow password-manager passkeys as well as keys certified at FIDO level L2 or above, add Community passkeys and a FIDO certification level token for each of L2, L2+, L3 and L3+.
Attestation
Whether the condition checks the passkey's attestation: the authenticator's signed proof of its make and model.
- Disabled – Doesn't check attestation.
- Monitor – Checks attestation and records the result in History, but still matches passkeys that fail it.
- When available – Doesn't match passkeys whose attestation failed. Passkeys that sent no attestation still match.
- Required – Matches only passkeys whose attestation verified. Passkeys it doesn't check still match.
On the Passkey Enrollment event, the check runs on the attestation the passkey sends. On other events, it uses the result recorded when the passkey was registered. Passkeys registered before Workforce Authority kept that record have none, so Required doesn't match them until they're registered again.
Every mode except Disabled also fails a passkey whose model the FIDO Metadata Service reports as compromised or revoked, checked against today's metadata, even at sign-in. Monitor records this without blocking.
The check applies only to passkeys whose model has a FIDO MDS entry. Other passkeys pass it, including SecureAuth's authenticator apps and community passkeys that FIDO MDS doesn't list. To check every passkey, list only FIDO authenticators, or leave the condition with no devices or groups. The condition never matches a sign-in without a passkey.
Adding a FIDO metadata token sets attestation to Required and locks it there, since an authenticator could otherwise claim another model's identity. Under Required, the condition warns about the devices and groups the check skips.
The condition also warns about listed devices that the check can't pass:
- A device whose FIDO MDS entry lists no root certificates, so its attestation can't verify. The warning shows in every mode except Disabled.
- A device that FIDO MDS reports as compromised or revoked, in every mode.
When the condition is the policy's only active one, and isn't under a NOT, the warning also says what the policy does with that device's passkeys. On a Reject policy under When available or Required, the passkeys fail the check, so the condition doesn't match them and the policy doesn't reject them. To reject them, set attestation to Disabled or Monitor. These warnings don't stop you from saving the policy.
A Passkey Enrollment policy can check attestation only when your organization's Default enrollment policy is Reject, and only then offers FIDO metadata tokens. A FIDO metadata token on a Passkey Enrollment policy while Default enrollment policy is Accept is marked Remove to save. To save the policy, remove it and set attestation to Disabled. On other events, the setting shows while passkey groups are turned on.
Passkey groups turned off
Passkey groups are turned on per organization. While they're off, a policy saved with groups, or with an attestation setting on a sign-in event, keeps applying. The editor shows those parts read-only, with a lock. You can remove a group, or set attestation to Disabled once no FIDO metadata token remains, but you can't add or change either until passkey groups are turned back on.
Request header
The Request header condition reads a header of the request that starts a sign-in. A proxy in front of your sign-ins can add one, such as x-edge-region, to tell Internet traffic from internal traffic.
SecureAuth turns the condition on for your organization. Until then, Add condition doesn't list it. A policy that already holds one keeps it as saved: you can remove it, but not change it. Contact SecureAuth support to turn it on.

Header name
The header to read, such as x-edge-region. Case doesn't matter, and an underscore reads as a dash. Enter the name only, without a colon or value. Policies can't read Authorization, Proxy-Authorization or Cookie.
Match
Is present matches when the request has the header, whatever its value. Is missing matches when it doesn't. Equals matches when the value is one you list.
Values
For Equals, type a value and press Enter, or type a comma after it. A pasted list splits on commas and line breaks. List up to 100 values, each up to 1,024 characters. The match is exact and case-sensitive, and it also matches any comma-separated part of the header's value.
A sentence under the fields restates the rule, with a line on what it relies on. The line turns amber when a browser could send the header itself to get past the rule.
Which sign-ins carry headers
Policies read request headers on an integration's Authenticate a User call and on the QR code sign-in page. The AD FS plugin passes on the browser headers its ForwardedHeaders setting names, and sends a few of its own. A header that isn't on the request reads as missing: Is present and Equals never match it, and Is missing always does.
On every other sign-in, including those through the SSO service, the condition isn't met, so a policy that needs it doesn't apply.
Where the condition can't match
- Adjust LOA Score – the change is lost once the sign-in is approved, because the score is worked out again without headers.
- Post Authentication – matches only sign-ins approved within the integration's authentication call or the QR code sign-in page. Approvals that arrive later, such as a push answered on the phone, don't match.
- Passkey Enrollment – these requests carry no sign-in headers, so Add condition lists the condition as unavailable. Saving one that would run on that event, or moving a policy that holds one to it, is refused here and through the Core APIs.
- On sign-ins through the AD FS plugin, headers it withholds or sets itself. A rule on one finds it missing, or finds the value the plugin sends. Forward request headers lists them.
- Headers that carry the host. Workforce Authority removes X-Canonical-Host-Key. It may also remove X-Forwarded-Host and Forwarded, and replace Host with the sign-in page's public address. A rule on one finds it missing, or finds Workforce Authority's own value.
When a rule holds
Workforce Authority can't tell a header the browser sent from one your proxy added. A browser can add a header, but it can't remove one your proxy adds. So a rule holds when sending the header only makes the outcome stricter for whoever sends it.
| Rule | Holds when |
|---|---|
| Is present or Equals, with Automatically Reject, Force Out Of Band, Require Password Factor or Require Device Pairing | Your proxy adds the header to every Internet request, and every integration the policy covers passes it on. Otherwise a sign-in that arrives without the header gets past the rule. |
| Is missing, with Automatically Approve | Your proxy adds the header to every Internet request, and every integration the policy covers passes it on. Otherwise a sign-in that arrives without the header is approved. |
| Is present or Equals, with Automatically Approve | Every request passes through your proxy, and it removes the browser's copy before adding its own. Otherwise a browser can send the header and be approved. |
| Is missing, with Automatically Reject, Force Out Of Band, Require Password Factor or Require Device Pairing | Every request passes through your proxy, and it removes the browser's copy. Otherwise a browser can send the header and avoid the rule. |
Equals also matches any comma-separated part of a value. A proxy that appends its value to a browser's copy, rather than replacing it, lets a value the browser chose match.
History
In History, a sign-in's Raw event data names the header and what the condition found when an Authentication policy relied on it to decide. Checks skipped or overridden by another condition aren't recorded. When Equals matched, it also shows the listed value that matched. Never list a secret as a value.
Example: reject QR code sign-ins from the Internet
Your proxy adds x-edge-region to every request from the Internet, and removes a browser's own copy first. On sign-ins through the AD FS plugin, run a plugin version later than 2.7.7 and add x-edge-region to its ForwardedHeaders setting. Earlier versions ignore the setting.
- Set the event to Authentication.
- Add Login Type and select QR Code Login.
- Add Request header. Enter
x-edge-regionand choose Is present. - Choose Automatically Reject, and save the policy.
- Sign in with a QR code from the Internet, and check in History that the sign-in was rejected. Its Raw event data shows what the condition found for
x-edge-region.
The rule fails open. If your proxy stops adding the header, or the plugin stops passing it on, QR code sign-ins from the Internet stop matching and go through.
User-Defined Condition
This predicate gives you the highest level of customization. You can create a predicate using the Ruby programming language.
For example, for this Network predicate on the UI:

You can write this in Ruby as custom predicate:
IPAddr.new('203.0.113.0/24').include?(context.auth_request.ip_address)

Select Insert example to start from a sample expression. It shows only while the box is empty. Select Read more for the full reference.
To learn more see User-defined policy predicate.
Group conditions
A group lets a policy match when any one of several conditions matches, or when a condition doesn't match. SecureAuth turns grouping on for your organization. Until then, the When section shows no group controls. Contact SecureAuth support to turn it on.
A group matches in one of two ways:
- Any of these (OR) matches when any one of its conditions matches.
- All of these (AND) matches when every one of them matches.
To group conditions the policy already has, select Group above the list. Tick the conditions, then select Any of these or All of these. The conditions you tick must sit in the same group.
To start an empty group, select Add group under the list, or the A group tile. The condition list opens so you can add the group's first condition. Add to at the bottom of a group adds another. An empty group is flagged, and the policy won't save until you add a condition to it or remove it.
Select a group to edit it on the right:
- Match when switches the group between Any of these and All of these.
- Reverse set to Doesn't match (NOT) makes the group match only when it otherwise wouldn't. A reversed Any of these reads None of these. A reversed All of these reads Not all of these.
- Add to this group adds a condition inside it.
- Ungroup removes the group and moves its conditions up a level. If the group was off, they stay off.
- Remove group removes the group and every condition in it. Select Undo to bring them back.
To reverse a single condition, select it and set Match to Doesn't match.
For example, a policy for sign-ins whose IP is neither private nor in 203.0.113.0/24: add a Network condition, select Private ranges, add 203.0.113.0/24 on a line of its own, and set Match to Doesn't match. To keep the two in separate Network conditions, group them in Any of these and set Reverse to Doesn't match. The group then reads None of these.
Each row has a grip and a ⋯ button, which show when you point at the row or select it. The ⋯ button lists what you can do with the row: move it up or down, move it into or out of a group, group it with others, add or remove NOT, turn it on or off, or remove it. Drag a row by its grip to move it. Drop it on a group's heading to put it in that group. From the keyboard, Alt with the Up or Down arrow moves the selected row, and Shift+F10 opens its actions.
A condition moved out of a switched-off group stays off. This editor can't turn an Unsupported condition back on. So while one is on inside a switched-off group, it can't move out to where it would run, and the group can't be ungrouped, until you turn the group on. An Always that ends up beside conditions that are on turns off, so it doesn't replace them.
Groups can sit inside groups, within these limits:
- A policy holds at most 50 rows. Each group and each NOT counts as a row. The count under the list shows how many the policy holds.
- Conditions nest at most six levels deep. A NOT counts as a level.
- Login Type and Passkey Device Type can't go under NOT.
- Always can't go inside a group.
An action that would break a limit stays in view but can't be used, and says why.
If grouping is turned off later, a policy that has groups opens with its conditions read-only, under a notice, and Save stays off until grouping is back on.
Reads as
Reads as, above the list of conditions, says in words what the policy checks, and changes as you edit. A policy that rejects sign-ins from two countries or one network, unless the user is in a chosen group, reads:
Blocks the sign-in when
it comes from China or Russian Federation or the IP is in 203.0.113.0/24
and the user isn't in 1 chosen group.
- The first words say what the action does. For an action with no wording of its own, they name the action, as in Adjust LOA Score applies when.
- Each top-level condition or group takes a line, and every line after the first starts with and.
- Values are in bold. Directory groups are counted, not named. A condition with no wording of its own reads Paired Desktop Workstation matches, or doesn't match.
- A NOT turns a condition negative: isn't in, doesn't come from. A reversed Any of these reads neither … nor … or none of these:, or the IP isn't in A or B when it reads as one list. A reversed All of these reads not both … and … or not all of these:.
- and or or joins the conditions of a group. A group inside a group sits in brackets. An Any of these whose conditions are all Country, all Network, all Directory Groups or all Operating system reads as one list, unless one of them is reversed or only some include mobile location.
- Conditions that are off don't appear. A note under the text names them, and names any group skipped because nothing in it is on.
- When a check under NOT can't get an answer, such as when the directory is down, the policy can't decide. A note then says whether the action applies, to fail safe: Automatically Reject and Force Out Of Band apply, Automatically Approve doesn't, and Adjust LOA Score applies unless it raises the score.
- If every condition is off, Reads as turns into a warning: the policy applies to every sign-in for its event and applications.
Actions
Select the Action you want the policy to take when it meets all the conditions.
The actions on offer depend on the event you selected in the Policy Information section.
Each action is a row with a one-line effect. Select a row to choose it.
-
For Authentication events, select an action for the policy:
-
Automatically Approve – Skips MFA and approves the sign-in.
-
Automatically Reject – Blocks the sign-in.
-
Force Out Of Band – Makes the user finish MFA.
-
Adjust LOA Score – Raises or lowers the user's LOA score.
Under the rows, a note reminds you which action wins when several policies match a sign-in: Automatically Reject, then Force Out Of Band, then Automatically Approve. Adjust LOA Score changes the score and doesn't decide the sign-in. See How authentication actions are prioritized.

-
-
For Enrollment events, select an action for the policy:
-
Require Device Pairing – Makes the user pair a mobile device when none is paired.
-
Adjust LOA Score – Raises or lowers the user's LOA score.

-
-
For Passkey Enrollment events, select an action for the policy:
-
Automatically Approve – Lets the user register the passkey.
-
Automatically Reject – Refuses the passkey.
Your organization's Default enrollment policy already covers one of the two, and its row shows Organization default. A policy can choose only the other action.
-
-
For Settings events, the action is always Change Settings. Add the settings and their values under it.
Adjust LOA Score
Adjust LOA Score asks for Change the LOA score by. Type a number from −4 to 4, or step it by 0.5 with the − and + buttons. A scale next to the field shows where the change falls. A number outside the range isn't saved. Every matching policy adds its change to the user's score.
Allowed Methods
Force Out Of Band asks which methods users may finish MFA with:
- Any method the app offers – users finish MFA with any method their application offers and they have set up. A new policy starts here.
- Only these methods – users finish MFA only with the methods you pick. Pick at least one; the policy won't save with none.
The methods users are prompted for at sign-in come first. Other ways to finish MFA, such as Policy and Federation, stay folded until you open them. SecureAuth Mobile FIDO Protected is deprecated, so it appears only on a policy that already allows it.
Who can still finish MFA lists each application the policy covers and the methods its users have left. A policy for all applications covers every application; any other covers the applications you chose. An application left with no method comes first, with a button such as Allow SMS that adds one of its methods users are prompted for at sign-in. When it has no such method to offer, the row asks you to add an allowed method to the application.
Policy, Federation, QR code and External verification don't count as methods left. A Force Out Of Band sign-in waits for the user to answer, and none of them can answer it; a policy records the first three when it decides a sign-in by itself. When you pick methods and an application offers nothing else, it's flagged with no button, because its users can't sign in under the policy.
An application can also supply Password through its own settings, which the table can't read. So when the policy allows Password, through Any method the app offers or by picking it, an application with no other method left shows as unchecked rather than flagged.
Password, Static PIN and Temporary PIN never appear on a sign-in page, so only a client that sends the answer, such as a workstation sign-in, can finish MFA with them. An application left with only those shows as unchecked. Security question is checked only when pairing a device, so it doesn't count as a method left.
The table checks what each application offers, not what each user has set up, so a user who has set up none of the remaining methods still can't finish MFA. When several Force Out Of Band policies match a sign-in, users get only the methods all of them allow. A sign-in left with none is rejected.
How authentication actions are prioritized
In cases where is more than one policy applied to the same transaction, it calculates the result in the following order of actions:
-
Automatically Reject. If one or more matching policies have this action, it will reject MFA and deny user access.
-
Force Out of Band. If the above rule is not true, and one or more matching policies have this action, it will send MFA to the user.
-
Automatically Approve. If the above two rules are not true, and one or more policies have this action, it automatically approves MFA for the user.
For example, there are five different policies that match the current conditions. One of them has an action set to "Automatically Reject", so it will reject the user access no matter what specified action is in other policies.
Settings policies
A settings policy says "users in any of these groups get these setting values". The values apply wherever Workforce Authority reads that user's settings: at login, in the mobile app, on workstations and in the Presence Authority agent.
To create one, choose Settings as the Event. Only a new policy can choose Settings, and a Settings policy keeps its event once saved.
-
In the When section, select Add condition, then Directory Groups, and choose at least one group.
A user matches when they belong to any of the chosen groups. You can also add Time of Day to apply the values only during certain hours.
-
In the Action section, under Change Settings, click Add Setting. In the settings browser, search by name or description, or narrow the list by category and type. Select one or more settings, click Add, then set each value.
To swap a setting for another, click its name.
You can add any user or organization setting your administrator level allows. An organization administrator cannot add a setting reserved for a higher level. Presence Authority settings appear only when your organization has Presence Authority.
A policy value for an organization setting applies where Workforce Authority reads that setting for a user. Where it reads the setting for the whole organization, the organization's value still applies.
A few organization settings are enforced only for the whole organization, so a policy cannot hold them: User verification, Default enrollment policy, Require hardware security module (HSM), SSO with Endpoint Trust, Google Play Integrity, Secure key usage tracking, and the Messaging settings: the Messaging switch, Messaging history retention in days, Sends per second, Sends per number, Per-number window and Per-number limit. Change them on the Settings page instead.
-
Save the policy.
A settings policy always applies to all applications, and it can use only Directory Groups and Time of Day conditions. It can't group them or reverse them with NOT. A new policy that has a group or a NOT can't switch to the Settings event until you ungroup its conditions and remove the NOT.
Which groups you can choose
Settings policies use groups in the Workforce Authority directory:
- Roles you assign to users in Workforce Authority.
- Active Directory groups that the LDAP agent syncs. Only direct members of a synced group match, not members of nested groups.
- Roles synced from a federated identity provider when the user logs in.
Groups in a live remote directory, such as Microsoft Entra ID, cannot be chosen.
Which value a user gets
When several levels set the same setting, Workforce Authority uses the first one that applies:
- A value set on the user.
- A settings policy the user matches.
- A value set on the application.
- The organization's value.
- The default.
When several settings policies set the same setting for one user, the policy higher in the Policies list wins. The list numbers settings policies in that order. Use the Move up and Move down arrows on a policy's row to change it.
Some settings depend on each other. Saving new or changed values, or enabling a policy, is refused when the result breaks such a rule against your organization's current settings. If the organization's settings change later and an existing policy now breaks a rule, the policy shows a warning, and its values for that rule do not apply. A user's own value, or another matching policy's, can still satisfy the rule and keep the policy value. The warning lists each broken rule in a table with the settings it compares and their values from this policy or the organization. The rows of this policy that the rule skips are marked Not applied. If the rule involves settings you cannot see, the warning shows only how many rules are broken.
A policy can turn Temporary PIN off for its groups, but it cannot turn the feature on. The organization must enable Temporary PIN first.
Policies you cannot edit
If a policy holds a setting above your administrator level, you can view the policy but not edit or delete it. The settings you cannot see are shown as a count.