Skip to content

Sessions & tokens

After a successful authentication, Fanzava issues tokens that the client uses for subsequent requests. This page covers how those tokens work, how sessions are managed, and how to revoke them.

Fanzava uses server-side sessions carried in a cookie. The session token is opaque: it is a random identifier signed with an HMAC, not a JWT, and it carries no claims you can read. Authorisation (hub membership, role, permissions) is resolved by the API on the server, not read from the token.

Property Value
Session lifetime 48 hours
Refresh An active session is extended every 12 hours
Cookie HttpOnly, Secure, SameSite=Strict, shared across .fanzava.com (a hub on a verified custom domain gets a host-only cookie)

A short-lived signed copy of the session is also kept in a cookie cache so the API does not look the session up on every request. Operations that change credentials or roles bypass that cache, so those changes take effect straight away.

A session lasts 48 hours and is extended while the user is active. When it lapses the user signs in again.

Tokens can be revoked at any time:

  • By the user: signing out from any device revokes that session
  • By the user: “Sign out everywhere” revokes all sessions on all devices
  • Automatically on password change: all sessions revoked
  • Automatically on email change: all sessions revoked
  • Automatically on MFA disablement: all sessions revoked
  • By the hub admin: revoking a participant’s role triggers session revocation for that hub
  • By Fanzava: for security incidents (compromised account suspected, abuse detected)

Revocation propagates within seconds via Fanzava’s session store. A revoked session, even if not yet expired, will be rejected on its next API request.

Default behaviour permits multiple concurrent sessions per user (sign in from phone and laptop simultaneously). Hub admins on Enterprise plans can restrict concurrent sessions from Admin → Settings → Security policies → Session governance:

  • Maximum N concurrent sessions per user (default unlimited)
  • Single session enforcement (signing in elsewhere logs out the previous session)

By default, a browser session expires after 48 hours and is extended while the user is active. Hub admins on Enterprise plans can configure:

  • Idle timeout: force re-authentication after N minutes of no activity (default off; recommended 30 minutes for high-sensitivity hubs)
  • Absolute timeout: force re-authentication after N hours regardless of activity (default 48 hours)

Re-authentication for sensitive operations

Section titled “Re-authentication for sensitive operations”

Some operations require a fresh authentication regardless of session state:

  • Changing email address
  • Changing password
  • Disabling MFA
  • Adding or removing MFA factors
  • Generating an API key
  • Downloading participant data exports (Enterprise, configurable)

For these operations, the user re-enters their password (or completes a new SSO challenge) and, if MFA is enabled, completes an MFA challenge. The fresh authentication doesn’t extend the session; it confirms presence at the moment of action.

Was this page helpful?

Raise a ticket about this page

Comments