Zetect Admin Guide Back to zetect.inSwitch portal ⇄

Configuring the Global Auth Policy

Set the lockout, token, session and sign-in code settings that apply to everyone in the tenant, whichever auth rule matched. A summary line at the top restates the current settings in plain words.

Required permission

Global Auth Policy – View in an administrator group to see the page, and Global Auth Policy – Edit to change it.

Applies to

Every sign-in to the tenant, whichever auth rule matched.

Changing the global auth policy

Global Auth Policy page

To change the global auth policy:

  1. Go to Authentication → Global Auth Policy.
  2. Under Account Lockout, set how many failed sign-ins lock an account and how long the lock lasts.
  3. Under Token & Session Expiry, set the access token lifetime and the idle session timeout.
  4. Under Second-factor codes, set how many wrong codes are allowed and how long an emailed or texted code stays valid.
  5. Under Session Policy, choose Multiple sessions or Single session.
  6. For Single session, choose what happens When a new session is created.
  7. Select Save changes on the bar that appears, or Discard to go back.

The new settings apply to the next sign-in. If the page says the defaults aren't saved for this tenant yet, select Save changes to store them.

Global auth policy fields

FieldDescription
Failed sign-ins before the account locksNumber of failed sign-in attempts before the account is locked.
Unlock the account after (minutes)How long the lock lasts. The account unlocks automatically afterwards.
An access token lasts (minutes)Lifetime of an access token before it must be refreshed.
End an idle session after (minutes)How long a session can sit idle before the user is signed out.
Wrong codes allowed before lockingMaximum number of failed MFA attempts before the user is locked out.
MFA code timeout (seconds)How long an emailed or texted sign-in code stays valid, from 30 to 3600 seconds. The default is 300.
Concurrent SessionsMultiple sessions lets users be signed in from several devices at once. Single session allows one.
When a new session is createdShown for Single session. Either Remove existing session and allow new login, or Block new login while a session is active.

How sign-in codes behave

The verification page shows a countdown, and a code can't be used once it expires. Resend code becomes available 30 seconds after each send, up to 5 times per sign-in. Each resend issues a new code with a fresh timeout. A wrong code doesn't reset the timer.

The MFA code timeout applies to sign-in codes only. Password-reset and unlock codes use the access token lifetime.

Example — Strict single session

Failed sign-ins before the account locks5
Unlock the account after (minutes)30
End an idle session after (minutes)15
MFA code timeout (seconds)180
Concurrent SessionsSingle session
When a new session is createdRemove existing session and allow new login