---
title: /oauth2/connect/checkSession
description: Endpoint to check session state as per OpenID Connect Session Management 1.0 - draft 5.
component: pingam
version: 7.2
page_id: pingam:oidc1-guide:rest-api-oidc-checksession-endpoint
canonical_url: https://docs.pingidentity.com/pingam/8.1/am-oidc1/rest-api-oidc-checksession-endpoint.html
llms_txt: https://docs.pingidentity.com/pingam/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/pingam/8.1/am-oidc1/rest-api-oidc-checksession-endpoint.html
---

# /oauth2/connect/checkSession

Endpoint to check session state as per [OpenID Connect Session Management 1.0 - draft 5](https://openid.net/specs/openid-connect-session-1_0-10.html).

The relying party client creates an invisible iframe that embeds the URL to the endpoint (by setting it as the `src` attribute of the `iframe` tag).

The endpoint accepts postMessage API requests from the iframe, and it postMessages back with the login status of the user in AM.

The endpoint is always accessed from the root realm. For example, `https://openam.example.com:8443/openam/oauth2/connect/checkSession`.

|   |                                                                                                                                                                                                                    |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|   | Note that this endpoint has been removed in later versions of the OpenID Connect Session Management draft. For an alternative method of checking session state, see [Session management](session-management.html). |
