Docs

API referenceChangelogStatus
Documentation menu
Account › Two-factor and SSO

Two-factor and SSO

A FormVigilant account can reach the connector on every client site you manage, so it deserves more than a password. There are three layers: two-factor authentication for each person, an organisation rule that requires it, and single sign-on through your identity provider.

Two-factor authentication (TOTP)

Two-factor uses a six-digit code from an authenticator app such as 1Password, Google Authenticator, Microsoft Authenticator or Authy. It is available on every plan.

  1. Go to Settings › Security and start two-factor setup.
  2. Scan the QR code with your app, or type the secret shown under it.
  3. Enter the current code to confirm.
  4. Save the 10 recovery codes that appear. Each works once, in place of a code, if you lose your phone.

From then on you are asked for a code after your password. If the code is rejected, check that your phone's clock is set automatically; codes are time-based.

Recovery codes. The Security page shows how many you have left. New recovery codes asks for your password and replaces the whole set; the old codes stop working at once.

Turning it off asks for your password. If your organisation requires two-factor, you cannot turn it off while you are a member.

Require two-factor for everyone

Owners and admins can turn on Require two-factor authentication for all members under Settings › Agency. After that, a member who signs in without two-factor can reach only the page that sets it up; every other page and API call returns "Your organisation requires two-factor authentication. Set it up to continue." API keys are not affected, because they are not people; scope them tightly instead (API keys).

Client portal users sign in by one-time email link and are not covered by this rule.

Sign in with Google

Anyone can sign in with a Google account instead of a password, using the button on the sign-in and sign-up pages. FormVigilant uses Google's OpenID Connect flow with PKCE and links the Google identity to the existing account with the same email, provided Google has verified that address. If your organisation enforces SAML (below), Google sign-in is turned off for its members.

SAML single sign-on

SSO lets your team sign in through Okta, Microsoft Entra ID, Google Workspace or any SAML 2.0 identity provider, so joiners and leavers are handled in one place. It is available as the SSO add-on on Agency and Agency Pro, and is included in custom contracts.

Set it up under Settings › Security, in the Single sign-on (SAML) row:

  1. Create a SAML application in your identity provider using the values shown in FormVigilant:

    FieldValue
    Entity ID / Audiencehttps://api.formvigilant.com/v1/sso/<your-org-slug>/metadata
    ACS URLhttps://api.formvigilant.com/v1/sso/<your-org-slug>/acs
    Name ID formatEmail address
  2. Paste the identity provider's metadata XML into FormVigilant, or enter its entity ID, SSO URL and signing certificate by hand. The metadata must include an SSO URL and a signing certificate.

  3. Choose the default role for people who sign in for the first time; they are added to the organisation with that role.

  4. Save, then test sign-in from a private browser window before enforcing.

Assertions must be signed. FormVigilant accepts up to one minute of clock difference and rejects assertions meant for another organisation.

Enforce SSO. With enforcement on, members must sign in through your identity provider: password and Google sign-in are refused for them. The owner keeps a password as a break-glass route in case the identity provider is unavailable.

Audit

Turning two-factor on or off, regenerating recovery codes and changing SSO settings are all recorded in the organisation's audit log.