---
title: Accept SSO Token
description: A flag for whether the agent accepts SSO tokens and ID tokens as session cookies:
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.forgerock.agents.accept.sso.token
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.forgerock.agents.accept.sso.token.html
---

# Accept SSO Token

A flag for whether the agent accepts SSO tokens and ID tokens as session cookies:

* `0`. The agent does not accept SSO tokens as session cookies.

* `1`. The agent accepts both SSO tokens and ID tokens as session tokens during the login flow, and afterwards. SSO tokens *are not converted* to ID tokens. Set this property to `1` only for environments migrating from earlier versions of the agent, in the following scenarios:

  * Your custom login pages use SSO tokens as session tokens, and [Custom Login Mode](org.forgerock.openam.agents.config.allow.custom.login.html) is set to `2`.

  * Your applications, for example, REST or JavaScript clients, can only set SSO tokens.

The SSO token name is given by [Cookie Name](com.sun.identity.agents.config.cookie.name.html).

If the agent receives a request with both an SSO token and an ID token, it checks the ID token first. If invalid, it checks the SSO token. If both are invalid, the agent redirects the user for authentication.

The agent caches session information for SSO tokens.

Configure this property with [Custom Login Mode](org.forgerock.openam.agents.config.allow.custom.login.html), as described in [Login redirect configuration options](../user-guide/login-redirect.html#table-login-redirect) in the *User Guide*.

Default: `0`

|                    |                                                                       |
| ------------------ | --------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.accept.sso.token`   Introduced in Web Agent 5.7 |
| Function           | Cookies                                                               |
| Type               | Integer                                                               |
| Bootstrap property | No                                                                    |
| Required property  | No                                                                    |
| Restart required   | No                                                                    |
| AM console         | Tab: `SSO`Title: `Accept SSO Token`                                   |
