# Sessions, SSO, and Logout

Learn about how FusionAuth keeps users logged in across applications, and how to configure session lifetimes, single sign-on, and logout.

> For the index of this section of the site, see [llms.txt](https://fusionauth.io/docs/llms.txt)

After a user logs in, FusionAuth and each of your applications keep a session for the user. The FusionAuth [SSO session](https://fusionauth.io/docs/authentication/sessions/how-sessions-work.md#the-sso-session) logs the user in to every Application in a Tenant. Your applications decide how long their own sessions last, and can hand that control to FusionAuth with refresh tokens. For a high-level overview, see [How Sessions Work](https://fusionauth.io/docs/authentication/sessions/how-sessions-work.md).

Choose a page by task:

*   To let users log in once for every application, see [Enable SSO](https://fusionauth.io/docs/authentication/sessions/enable-sso.md).
*   To change how long users stay logged in, see [Configure Session Lifetimes](https://fusionauth.io/docs/authentication/sessions/configure-session-lifetimes.md).
*   To log users out of one application or all of them, see [Log Users Out](https://fusionauth.io/docs/authentication/sessions/log-users-out.md).
*   To end a user's sessions from the Admin UI or a server, see [View and Revoke Sessions](https://fusionauth.io/docs/authentication/sessions/revoke-sessions.md).
*   To look up a timeout, unit, or default, see [Session Settings](https://fusionauth.io/docs/authentication/sessions/session-settings.md).

## Runnable Examples

The following example repositories are complete, runnable versions of the tasks, each with a Docker Compose file and a Kickstart that configure FusionAuth:

*   [SSO and front-channel logout](https://github.com/FusionAuth/fusionauth-example-node-sso) between two Express applications. For the steps, see [Log Users Out](https://fusionauth.io/docs/authentication/sessions/log-users-out.md).
*   [An application dashboard](https://github.com/FusionAuth/fusionauth-example-multiapp-dashboard) in a custom theme Index page. For the steps, see [Enable SSO](https://fusionauth.io/docs/authentication/sessions/enable-sso.md#link-to-your-applications-from-one-page).
*   [Centralized sessions](https://github.com/FusionAuth/fusionauth-example-node-centralized-sessions) across two applications. For the steps, see [Centralized Sessions](https://fusionauth.io/docs/authentication/sessions/centralized-sessions.md).
*   [A device limit enforced by a webhook](https://github.com/FusionAuth/fusionauth-example-device-limit-simple) and [a device limit with a session picker](https://github.com/FusionAuth/fusionauth-example-device-limit-friendly). For the steps, see [Limit Concurrent Sessions](https://fusionauth.io/docs/authentication/sessions/limit-concurrent-sessions.md).

[How Sessions Work Learn about the sessions that keep a user logged in to FusionAuth and to your applications, and how the sessions relate.](https://fusionauth.io/docs/authentication/sessions/how-sessions-work.md)

[How Logout Works Learn about what each FusionAuth logout method ends, and how front-channel logout signs a user out of every application.](https://fusionauth.io/docs/authentication/sessions/how-logout-works.md)

[Enable SSO Learn how to let users log in once and reach every application in a FusionAuth tenant without logging in again.](https://fusionauth.io/docs/authentication/sessions/enable-sso.md)

[Configure Session Lifetimes Learn how to set how long users stay logged in to FusionAuth and to your applications.](https://fusionauth.io/docs/authentication/sessions/configure-session-lifetimes.md)

[Log Users Out Learn how to log users out of one application or every application, and where to send users after logout.](https://fusionauth.io/docs/authentication/sessions/log-users-out.md)

[View and Revoke Sessions Learn how to list a user's sessions and end the sessions from the Admin UI, the API, or automatically.](https://fusionauth.io/docs/authentication/sessions/revoke-sessions.md)

[Centralized Sessions Learn how to track and revoke application sessions in FusionAuth by tying each session to a refresh token.](https://fusionauth.io/docs/authentication/sessions/centralized-sessions.md)

[Limit Concurrent Sessions Learn how to cap the number of devices a user can stay logged in on at the same time.](https://fusionauth.io/docs/authentication/sessions/limit-concurrent-sessions.md)

[Session Settings Reference for every FusionAuth setting that controls session, token, and logout behavior.](https://fusionauth.io/docs/authentication/sessions/session-settings.md)

[Cookies Reference for the cookies that FusionAuth sets in the browser, including the SSO session cookie.](https://fusionauth.io/docs/authentication/sessions/cookies.md)

[Troubleshooting Learn how to fix common problems with FusionAuth SSO, session lifetimes, and logout.](https://fusionauth.io/docs/authentication/sessions/troubleshooting.md)

Related

[Authentication How Sessions Work in FusionAuth Learn about the sessions that keep a user logged in to FusionAuth and to your applications, and how the sessions relate. sessionsssosingle sign-on](https://fusionauth.io/docs/authentication/sessions/how-sessions-work.md)

[Authentication Troubleshoot Sessions and Logout Learn how to fix common problems with FusionAuth SSO, session lifetimes, and logout. sessionsssologout](https://fusionauth.io/docs/authentication/sessions/troubleshooting.md)

[Authentication Manage Application Sessions in FusionAuth With Refresh Tokens Learn how to track and revoke application sessions in FusionAuth by tying each session to a refresh token. sessionsrefresh tokenslogout](https://fusionauth.io/docs/authentication/sessions/centralized-sessions.md)

[Authentication How Logout Works in FusionAuth Learn about what each FusionAuth logout method ends, and how front-channel logout signs a user out of every application. logoutsessionssso](https://fusionauth.io/docs/authentication/sessions/how-logout-works.md)
---

## Other pages in Authentication

> For the full index of this section, see [Authentication](https://fusionauth.io/docs/llms-authentication.txt).

- [Application Authentication Tokens](https://fusionauth.io/docs/authentication/application-authentication-tokens.md): Leverage Application specific authentication tokens to speed up certain authentication tasks.
- [Authentication Types](https://fusionauth.io/docs/authentication/authentication-types.md): Learn about the supported types of authentication.
- [Add an Identity Provider (IdP)](https://fusionauth.io/docs/authentication/identity-providers.md): Learn how to let users log in through an external identity provider such as Google or Okta.
- [Build a Login Page with the Login API](https://fusionauth.io/docs/authentication/login-api.md): Learn about the Login API and when you would use it.
- [Multi-Factor Authentication (MFA)](https://fusionauth.io/docs/authentication/multi-factor-authentication.md): Learn about how to use multi-factor authentication (MFA) in FusionAuth as a developer.
- [OAuth](https://fusionauth.io/docs/authentication/oauth.md): Learn about the OAuth 2.0 and OpenID Connect grants FusionAuth supports for login and single sign-on.
- [One-Time Passwords](https://fusionauth.io/docs/authentication/one-time-passwords.md): Create a passwordless experience using magic links and one-time passwords.
- [Passkeys](https://fusionauth.io/docs/authentication/passkeys.md): Learn about passkeys, which let users log in with a device instead of a password.
