# Login Page Cookies

Reference for the cookies that FusionAuth sets in the browser, including the SSO session cookie.

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

FusionAuth sets cookies in the browser when you use the [hosted login pages](https://fusionauth.io/docs/concepts/integration-points.md#hosted-login-pages) or the [hosted backend](https://fusionauth.io/docs/apis/hosted-backend.md). Some APIs, such as the [Login API](https://fusionauth.io/docs/concepts/integration-points.md#login-api), also set cookies. The API documentation lists those cookies.

## Domains

FusionAuth sets every cookie on the host that serves FusionAuth. When FusionAuth serves `auth.example.com`, FusionAuth sets cookies for `auth.example.com` and never for `.example.com`. To change the host, put FusionAuth behind a proxy. For more information, see [Proxy FusionAuth](https://fusionauth.io/docs/deploy/production/proxy-setup.md).

Most FusionAuth cookies use a [SameSite](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value) value of `Strict` or `Lax`, to protect against [cross-site request forgery](https://owasp.org/www-community/attacks/csrf). The browser leaves those cookies off cross-site requests, except for top-level navigation. A FusionAuth page in an iframe on another site therefore can't read the cookies. FusionAuth marks cookies `Secure` only when FusionAuth serves the page over HTTPS.

## Cookie List

Caution

The following list is for information only. Cookie names, types, and descriptions can change in any release.

| Name | Type | Description |
| --- | --- | --- |
| `access_token` | Session | The access token. Set by the login API. |
| `app.at` | Persistent | The access token. Set by the hosted backend. |
| `app.at_exp` | Persistent | The access token expiration. Set by the hosted backend. |
| `app.idt` | Persistent | The Id token. Set by the hosted backend. |
| `app.pkce_v` | Persistent | The PKCE verifier. Set by the hosted backend. |
| `app.rt` | Persistent | The refresh token. Set by the hosted backend. |
| `fa.bypass-c` | Session | Implements security functionality. |
| `fa.bypass-c.csrf` | Session | Implements security functionality. |
| `federated.csrf` | Session | Implements security functionality. |
| `fusionauth.app.pkce-verifier` | Request | Used to support Proof Key for Code Exchange during login. |
| `fusionauth.csrf` | Session | Implements security functionality. |
| `fusionauth.flash-message` | Request | Used to display a message across requests. |
| `fusionauth.known-device.*` | Persistent | Identifies a device known to FusionAuth. More than one cookie may be set. |
| `fusionauth.li` | Session | Used to support post-authentication steps during login. |
| `fusionauth.locale` | Persistent | The locale used to localize the themed pages. |
| `fusionauth.pkce-verifier` | Request | Implements security functionality. |
| `fusionauth.remember-device` | Persistent | Records whether the user wants to remain logged in on this device. |
| `fusionauth.sso` | Persistent | Represents a single sign-on session. |
| `fusionauth.timezone` | Persistent | The configured or approximated timezone used to adjust displayed dates and times. |
| `fusionauth.trust` | Persistent | Allows a MFA challenge to be bypassed during login. |
| `fusionauth.trust_c` | Request | Implements security functionality. |
| `fusionauth.trust_t` | Request | Implements security functionality. |
| `fusionauth.trusted-device.*` | Persistent | Identifies a trusted device. More than one cookie may be set. |
| `fusionauth.webauthn-reauth.*` | Persistent | Records user choices about WebAuthn and passkeys. More than one cookie may be set. |
| `refresh_token` | Persistent | The refresh token when the login API is used. |
| `saml.csrf` | Session | Implements security functionality. |

Related

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

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

[APIs Data Types Learn about the different data types used by FusionAuth. reference](https://fusionauth.io/docs/apis/data-types.md)

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

## Other pages in Sessions

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

- [Manage Application Sessions in FusionAuth With Refresh Tokens](https://fusionauth.io/docs/authentication/sessions/centralized-sessions.md): Learn how to track and revoke application sessions in FusionAuth by tying each session to a refresh token.
- [Configure Session and Token Lifetimes](https://fusionauth.io/docs/authentication/sessions/configure-session-lifetimes.md): Learn how to set how long users stay logged in to FusionAuth and to your applications.
- [Enable SSO Across Applications](https://fusionauth.io/docs/authentication/sessions/enable-sso.md): Learn how to let users log in once and reach every application in a FusionAuth tenant without logging in again.
- [How Logout Works in FusionAuth](https://fusionauth.io/docs/authentication/sessions/how-logout-works.md): Learn about what each FusionAuth logout method ends, and how front-channel logout signs a user out of every application.
- [How Sessions Work in FusionAuth](https://fusionauth.io/docs/authentication/sessions/how-sessions-work.md): Learn about the sessions that keep a user logged in to FusionAuth and to your applications, and how the sessions relate.
- [Sessions, SSO, and Logout](https://fusionauth.io/docs/authentication/sessions.md): Learn about how FusionAuth keeps users logged in across applications, and how to configure session lifetimes, single sign-on, and logout.
- [Limit How Many Devices a User Can Log In From](https://fusionauth.io/docs/authentication/sessions/limit-concurrent-sessions.md): Learn how to cap the number of devices a user can stay logged in on at the same time.
- [Log Users Out of FusionAuth and Your Applications](https://fusionauth.io/docs/authentication/sessions/log-users-out.md): Learn how to log users out of one application or every application, and where to send users after logout.
- [View and Revoke User Sessions](https://fusionauth.io/docs/authentication/sessions/revoke-sessions.md): Learn how to list a user's sessions and end the sessions from the Admin UI, the API, or automatically.
- [Session and Token Lifetime Settings](https://fusionauth.io/docs/authentication/sessions/session-settings.md): Reference for every FusionAuth setting that controls session, token, and logout behavior.
- [Troubleshoot Sessions and Logout](https://fusionauth.io/docs/authentication/sessions/troubleshooting.md): Learn how to fix common problems with FusionAuth SSO, session lifetimes, and logout.
