App user policy

How strictly Touchque checks the sign-ins and actions your own app sends through the 2FA API: number matching, passkeys, offline approvals, risk signals, Vishing Shield and access rules.

Your app sends login requests and actions through the 2FA API, and your users approve them on their phone. App user policy decides how strict that approval is: when the phone asks for number matching, which passkeys count, whether an approval can be given offline, what happens to an approval made during a phone call, and which sign-ins are blocked outright.

It applies only to your app's end users. Your own organization's people follow Authentication policies under Workforce → Security.

Changes apply to the next sign-in and are recorded in the System log. The settings on the first five tabs are saved together with Save changes; the passkey domain and each access rule are saved on their own.

In the dashboardCustomers → 2FA API → App user policydashboard.touchque.com/policy

Permissions

  • Security and product teams of an app that uses the 2FA API.
  • Every member can open the page. Only owners and admins can change it. A change that lowers protection (for example turning a protection off, lengthening the trusted device period or adding a trusted network), a passkey domain change and every access rule change also need two-step verification on your account and an approval on your phone.

Require number matching on every sign-in

  1. Open Customers → 2FA API → App user policy; you are on the Sign-in tab.
  2. Under Number matching, turn on Number matching on every sign-in.
  3. Optional: under Action types without a screen, turn on the action types where nothing can show the number, such as a VPN.
  4. Choose Number-matching digits: 2 digits (10–99) or 3 digits (100–999).
  5. Press Save changes.

Critical actions, risky sign-ins and streaks of rejected requests always get number matching, even with this switch off. Turning it off later, exempting an action type or going from 3 to 2 digits needs your phone approval.

Let users create passkeys on your site

  1. Open the Passkeys tab and go to Passkeys on your site.
  2. In Domain (RP ID), choose one of your organization's verified domains, or a subdomain of one.
  3. In Sign-in page origins, type the https addresses of your sign-in pages, comma separated.
  4. Press Save in that section and approve on your phone.

Verify the domain first under Domains. Changing the domain later makes the passkeys created for the old one stop working; the dashboard says how many. Remove clears the domain and goes back to the platform default.

Require a passkey for critical actions

  1. Set the passkey domain first (see the task above).
  2. On the Passkeys tab, under Phishing resistance, turn on Require a passkey for critical actions (phishing-resistant).
  3. Press Save changes.

Then only a passkey approves the action types marked critical on Action types: no push, no offline or time-based code, no recovery code. Require a passkey for every sign-in and action is the strictest setting: make sure every user has a passkey before you turn it on.

Let users approve without internet

  1. Open the Offline tab.
  2. Under Offline sign, turn on Offline sign (QR + code).
  3. Optional: turn on Allow offline sign for critical actions, and under Offline time-based code, Offline time-based code (lower assurance).
  4. Press Save changes and approve on your phone.

Your backend or SDK must also support offline sign (tq.offline). Turning Offline sign (QR + code) off also turns off the options that depend on it.

Change what Vishing Shield does

  1. Open the Vishing Shield tab.
  2. Under Mode, choose Touchque default, Enforce, Log only or Off.
  3. Optional: under Action types it leaves alone, turn on the action types that happen on a call by design, such as a support line confirming the caller.
  4. Press Save changes. A weaker mode, or a type it leaves alone, needs your phone approval.

View Shield events in the System log shows what the shield did, or what it would have done in Log only.

Make support verify a person before a 2FA reset

  1. On the Vishing Shield tab, go to Check the person before a 2FA reset.
  2. Turn on Check the person on their phone before resetting their 2FA or removing a passkey.
  3. Press Save changes.

From then on, Reset secret and Remove passkey on End users first show the person on their phone who from your team is helping; you read them a 2-digit number, and they type it and approve. Turning it off needs your phone approval.

Block or step up sign-ins that match conditions

  1. Open the Access rules tab and press Add rule.
  2. Type a Name.
  3. Under When, choose a field, an operator and a value. Press Add condition for more, and choose AND or OR.
  4. Under Then, choose Require number matching, Block the sign-in or Allow (skip later rules).
  5. Set Priority (lower numbers run first) and press Save.
  6. Approve on your phone.

The first rule that matches decides. If none matches, the settings on the other tabs apply. Use the switch in the On column to turn a rule off without deleting it; that also needs your phone.

Decide what the risk check does for your users

  1. Open the Risk signals tab and go to Risk engine.
  2. Under When the risk check cannot answer, choose Ask with number matching (recommended), Refuse for critical apps and actions or Refuse.
  3. Under Ask for a passkey when the risk check says so, choose Follow Touchque (recommended) or Always.
  4. Under Ask for more on these signals, turn on the signals you want the number asked for.
  5. Press Save changes. A milder answer, Follow Touchque instead of Always, or a signal taken off is approved on your phone.

These settings can only ask for more: Touchque's own blocks, Tor and other threats, critical actions and number matching on a risky request always stay. The same settings govern your Touchque Login hosted sign-ins. Signals you pick are Measured only until Touchque turns each one on for companies.

Block countries or trust your office network

  1. On the Sign-in tab, go to Location and networks.
  2. Type two-letter ISO codes in Blocked countries, or in Only allow these countries to allow only those.
  3. Type IP ranges or ASNs in Trusted networks, for example 203.0.113.0/24, AS9121.
  4. Press Save changes. Adding a trusted network, unblocking a country or widening the allowed list needs your phone approval.

The country comes from the IP address you send with each request. Sign-ins whose country cannot be determined are not blocked. A country cannot be both blocked and allowed.

Settings reference

Sign-in protection

SettingDescription
Number matching on every sign-inStops push-bombing: the user picks the number your login screen shows. Off by default; critical actions, risky sign-ins and rejected-request streaks always get it.
Action types without a screenShown while the switch above is on. Non-critical action types where nothing can show the number, such as a VPN that cannot display a RADIUS challenge. They get a plain approval; risky ones still need the number and are refused there.
Number-matching digits2 digits (10–99) (default) or 3 digits (100–999).
Allow recovery codes for critical actionsRecovery codes are not tied to the phone, so they are off by default for critical actions.
Only phones with proven hardware approveApple App Attest or Android Key Attestation must prove the approval key is in the genuine app on genuine hardware. Off by default. An emulator, a tapping accessibility service or a debugger never approves a critical action, whatever this setting.
Rejected requests before 2FA is frozen1 to 20, default 3. Counted since the last approval. A user who taps "This isn't me" is frozen at once.
Freeze duration1 to 10080 minutes, default 30. Automatic freezes lift themselves after this long.
Trusted device period0 to 365 days, default 30. After an approved sign-in the user can trust the device and skip number matching for this long.

Location and networks

SettingDescription
Blocked countriesTwo-letter ISO codes, comma separated. Based on the IP address you send with each request.
Only allow these countriesTwo-letter ISO codes, comma separated. Empty allows every country.
Trusted networksYour office, company VPN or cloud desktop: IP ranges or ASNs. Inside them, many colleagues behind one address no longer get number matching on non-critical actions. Two-factor approval is never skipped, critical actions are judged as anywhere else, and real threats (Tor, attack tools) are always flagged. Usable in access rules as network.trusted.

Passkey rules

SettingDescription
Passwordless sign-in with passkeysLets users sign in with a passkey alone, with no password step. Off by default.
Passkeys must verify the user (PIN / biometric)Recommended when passkeys are the only factor.
Require a passkey for critical actions (phishing-resistant)For action types marked critical only a passkey approves: no push, no offline or time-based code, no recovery code. Users need a passkey on your site first.
Require a passkey for every sign-in and actionThe strictest setting: push, offline codes and recovery codes are refused for all actions.
Require a verified (FIDO-certified) passkey authenticatorRejects passkeys from authenticators that are not in the FIDO Metadata Service.

Passkeys on your site

SettingDescription
Domain (RP ID)The domain your users sign in on: one of your organization's verified domains, or a subdomain of one. Passkeys are created for this domain and refused anywhere else.
Sign-in page originsComma separated. Origins must use https and be on the domain or its subdomains.
How sign-in methods compareA read-only table: only a passkey is bound to your site's address by the browser; push with number matching, offline QR codes and typed codes can be relayed.

Offline approvals

SettingDescription
Offline sign (QR + code)Your page shows a QR; the phone scans it offline, shows your brand and the transaction, asks for Face ID and gives a 7-character code the user types on your page. Each code is bound to one request and works once. Off by default.
Allow offline sign for critical actionsOff by default: an offline approval misses the phone's live risk check. Needs offline sign.
Offline time-based code (lower assurance)A 7-character code in the app that changes every 30 seconds, with no internet or QR. It carries no transaction details, so critical actions never accept it. Needs offline sign.
Codes during a Touchque outageYour server (the Touchque RADIUS proxy, the AD FS adapter, or your own) keeps salted digests of the next 4 hours of each user's outage codes, so a code still works when Touchque cannot be reached. Needs the time-based code.
Wrong offline codes before lockout1 to 20 per hour, default 5. After this many wrong codes within an hour the user cannot use offline codes until the hour is over. Each QR also allows at most 5 tries.

Risk signals

SettingDescription
Behavioral biometricsCollects aggregated mouse and typing rhythm during a challenge and raises risk on mismatch. Needs the behavioral widget on your login page.
Browser recognitionShown when Device risk is on. It is set up on its own page; press Device risk to go there.
Use the shared device fraud signalDevices flagged as fraudulent by other opted-in brands raise the risk score. This shared signal is applied by Touchque next to the risk engine, never inside it, so one brand's flag never teaches the engine about another brand's users.
Share your device fraud flagsDevices you flag are shared, without your brand name, with brands that use the signal.
Browsers driven by softwareAutomation tools and AI browser agents on your sign-in page: Ask with number matching (recommended) (default), Block them or Only record them.

Risk engine

SettingDescription
When the risk check cannot answerWhat happens when the risk check gives no verdict (it is down or too slow), saved as riskCheckUnavailable. Ask with number matching (recommended) (step_up, the default): requests still go through, with the number on the phone. Refuse for critical apps and actions (refuse_critical): critical action types and recoveries are refused with 503 risk_unavailable until the risk check answers again; everything else asks with number matching. Refuse (refuse): every request is refused with 503 risk_unavailable. Nothing is ever approved without the phone. A milder answer needs your phone approval.
Ask for a passkey when the risk check says soSaved as riskAssurance. Follow Touchque (recommended) (platform): Touchque decides when the risk check's request for a passkey is acted on; until then it is only recorded in the case view. Always (enforce): a user who has a passkey, on a page that can use it (your call says passkeyCapable), is asked for it; anyone else keeps number matching. A request the risk check blocks becomes passkey-only for such a user and stays refused for everyone else, never a number. Going back to Follow Touchque needs your phone approval.
Ask for more on these signalsSignals about the person, their phone or network (for example A new country for the person, A hosting or cloud network) that the risk check asks for number matching on for your users, besides those it always acts on. Saved as riskEnforceSignals. A pick marked Measured only is recorded and shown in the case view but asks for nothing until Touchque turns it on for companies. Taking one off needs your phone approval. Device risk signals are picked on Device risk → Settings.

Vishing Shield

SettingDescription
ModeWhat happens to an approval made during a call, a screen share or remote control. Touchque default (enforced today), Enforce, Log only (nothing changes; the System log shows what the shield would have done) or Off.
Action types it leaves aloneApprovals that happen on a call by design. The shield still logs what it would have done. Help desk checks are always left alone.
Check the person before a 2FA resetBefore a 2FA reset or passkey removal, the person types a 2-digit number read to them on the call and approves on their phone. Off by default.
Calls and screen sharingRead-only. An approval during a call becomes provisional: your server gets SUCCESS with provisional: true, and critical actions should wait for APPROVAL_RECONFIRMED. On a critical action, a user with no passkey is refused with vishing_suspected.
Phishing-origin refusalsRead-only. When a phishing proxy relays the login page, the approval is refused with phishing_origin.
Coached reportsRead-only. When the user says a caller told them to approve, their 2FA is frozen and the request is rejected with user_reported_coached; an approval they already gave is taken back with APPROVAL_REVOKED.

Access rules

SettingDescription
NameUp to 120 characters.
WhenConditions on: risk score (0–1), country, IP address, trusted device, critical action, action name or ID, minutes since a 2FA, phone, password, email, phone number or any security change, and the request's destination (looks like an earlier one, used before, kind). Joined with AND or OR.
ThenRequire number matching, Block the sign-in or Allow (skip later rules).
Priority1 to 10000, default 100. Lower numbers run first.
OnTurns a rule on or off without deleting it.

Limits

  • Applies only to your app's end users, never to your organization's members.
  • Only owners and admins can change it. Changes that lower protection, passkey domain changes and every access rule change need two-step verification on your account and an approval on your phone.
  • At most 50 access rules. The rule builder takes up to 6 conditions; a more complex rule is edited as JSON.
  • The passkey domain must be one of your organization's verified domains or a subdomain of one.
  • The offline code options work only on top of Offline sign (QR + code).

See also

  • End users: The people who sign in to your own app and approve with Touchque Authenticator through the 2FA API: their status, phone, secrets, passkeys and recent requests.
  • Action types: The actions your server asks your users to approve, such as a sign-in or a transfer, with the name and description they see on their phone.
  • Authentication policies: How your organization's people sign in to its SSO apps and this dashboard: two-step verification or passkeys, phone approvals, sessions, places, device checks, rules for some groups or apps, what closes access after sign-in, and lost phones.
  • Domains: Your organization's email domains: prove each one with a DNS TXT record so invites, directory sync, joining by email domain and threat protection can use it.
  • System log: Every request and sign-in Touchque answered for your app, with its IP, browser, status, latency and the redacted request, newest first.

API and SDKs

Changelog

  • Improved2026.11.24.9 The Risk engine section lists the extra signals your company can require for its own people, such as a new country or network for the user and recent fraud reports.
  • New2026.11.24.8 App user policy has a Risk engine section: choose what happens when the risk check cannot answer, whether its request for a passkey is acted on, and extra signals to ask for more on.
  • New2026.11.10 App user policy can accept only phones with proven hardware.

Full changelog →