> For the complete documentation index, see [llms.txt](https://support.goodaccess.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.goodaccess.com/configuration-guides/features/session-management-and-authentication-lifecycle.md).

# Session Management & Authentication Lifecycle

Explore how GoodAccess enforces Zero Trust session lifecycles, continuous authentication, configurable timeouts, and real-time access revocation.

## Overview

GoodAccess is built on Zero Trust architecture, meaning that trust is never implicitly granted and must be continuously evaluated. This article provides a technical overview of how user sessions are established, monitored, and terminated to ensure secure access to your business resources.

## Continuous Authentication and Session Validation

Traditional VPNs authenticate a user once and grant open access. GoodAccess, however, implements continuous authentication and session validation to maintain a high security standard throughout the user's connection.

Once a user successfully authenticates and establishes a secure tunnel, their access and context are continuously monitored. Through features like [**Device Posture Check**](https://support.goodaccess.com/configuration-guides/features/zero-trust-access-control/device-posture-check.md), the GoodAccess client regularly reports the endpoint's health and compliance status (e.g., OS version, active firewall, disk encryption) to the gateway. If a device falls out of compliance during an active session, the session is immediately invalidated, and access is restricted until the issue is resolved or re-authentication is successfully performed.

## Configurable Session Timeouts and Automatic Termination

To minimize the risk of unauthorized access from unattended or compromised devices, administrators can enforce strict session lifecycles.

* **Configurable Application Session Timeout:** GoodAccess manages user login sessions independently of the continuous network connection. Administrators can configure session timeout. Once this application session expires, the user is logged out and must complete a full sign-in via the configured Identity Provider (IdP). This is the exact moment when IdP conditional access policies, identity status, and primary MFA are evaluated.
* **App & Connection-Level Re-Verification:** For ongoing daily use while the user remains signed in, administrators can enforce additional security layers post-login. GoodAccess supports mandatory MFA or PIN & Biometrics challenges required to launch the application interface or to initiate a network connection. This prevents unauthorized access to the client and tunnel activation on shared or unlocked devices.
* **Time-Bound Access Cards:** Access to specific resources can be restricted to defined time windows (e.g., standard business hours). Outside of these windows, the access is automatically revoked without terminating the entire network connection.

## Instant Access Revocation and Real-Time Policy Enforcement

In the event of a security incident or an HR offboarding process, taking immediate action is critical. GoodAccess is designed to immediately revoke user access when accounts are disabled or access policies are modified.

* **Account Disablement:** When an administrator blocks or deletes a user in the GoodAccess Control Panel, or when an account is deprovisioned via SCIM (e.g., disabled in Okta or Entra ID), any active sessions belonging to that user are terminated instantly. The user is disconnected from the network and cannot reconnect.
* **Real-Time Policy Modifications:** Access permissions in GoodAccess are governed by [**Access Cards**](https://support.goodaccess.com/configuration-guides/features/zero-trust-access-control/access-cards.md). If an administrator removes a user from an Access Card or modifies the rules (e.g., blocking a specific application), these changes are pushed to the gateway and enforced immediately. Active connections to that specific resource are dropped in real time, with no need for the user to reconnect or for the gateway to restart.
