Local accounts and two-factor sign-in
Local accounts, the sign-in protections, and optional two-factor sign-in with an authenticator app and recovery codes.
Sign-in options
FarWatch supports three ways to sign in, and they work side by side.
- Local accounts, kept in FarWatch.
- Active Directory. See Active Directory.
- Okta, with OpenID Connect or SAML 2.0. See Okta.
Local accounts keep working beside the others, so a local administrator is always available if a directory or provider is unreachable.
Users and groups are managed under Global Settings > Users & Access. Passwords are stored as argon2id hashes. A new password needs at least 8 characters and cannot equal the user name. Sign-in attempts are limited, and repeated failures for one address and user name end in a lockout.
Open access
An install can run with sign-in off. Only a global administrator can turn sign-in off, and never on an install with several tenants. In that mode every change needs a request token, which the pages fetch and renew themselves, and the install answers only to known host names. See Allowed host names.
Two-factor sign-in
Local accounts can sign in with a six-digit code from an authenticator app (RFC 6238, a 30 second period, with one step of drift accepted either side). It is off by default. A user can turn it on alone, and a global administrator can make it required.
Active Directory, Okta and service accounts are not affected. Those accounts sign in through their own provider and never see a code prompt or an enrolment page.
Enrol
A user opens the user menu, then Security, and starts enrolment. FarWatch shows a secret and a QR code, the user adds it to an authenticator app, and enters a code to confirm. On confirmation FarWatch shows ten recovery codes once. Save them.
Sign in with a second factor
After the password is accepted, FarWatch asks for the six-digit code or a recovery code. The challenge lives five minutes. A wrong code answers with the attempts left, and the fifth wrong code ends the challenge. A code cannot be used twice. Guessing codes shares the password lockout.
Recovery codes
Recovery codes look like XXXXX-XXXXX. Each works once. The Security page shows how many are left. A user can generate a new set, which needs a current authenticator code and replaces all ten.
Policy
A global administrator sets the install-wide policy:
| Policy | Meaning |
|---|---|
| Optional | Users enrol if they want to. This is the default. |
| Administrators | Administrators who sign in with a local account must have a factor. This includes tenant administrators. |
| Everyone | Every local account must have a factor. |
A policy change applies at each user's next request and sign-in. No session is ended. A user who the policy requires and who has no factor yet can reach only the sign-in pages and the licence status until they enrol, and the browser sends them to the enrolment page. Under a policy that requires it, a user cannot turn their own factor off.
Lost device
A global administrator can clear another local account's factor from the Users page. The user then signs in with the password alone and can enrol again, or is sent to enrol if the policy requires it. An administrator cannot reset their own factor this way. If the only administrator loses their device and all recovery codes, the install-level fix is to clear the row for that account in the global database, or to sign in as another global administrator.
Changing a password
A user who has a factor sends it with a password change, as a code or a recovery code. Without it the change is refused.
Audit
Enrolment, disabling, recovery code regeneration, reset, policy changes, failed second-factor attempts and failed passwords are written to the global audit log. A successful second-factor sign-in is recorded with the method, authenticator code or recovery code.
The public demo
The public demo refuses every two-factor write, so a visitor cannot enrol or lock out the shared login.