Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Session extension API

Download OpenAPI (YAML)Version 1.0.0

Base URL: https://api.asgardeo.io/t/<ORGANIZATION_NAME>

The WSO2 Identity Platform - User session extension API (version 1.0.0).

Download the OpenAPI definition (YAML)

Other​

Extend user sessions​

GET /identity/extend-session

This API is used to extend the WSO2 Identity Platform session of a user. To identify the session that needs to be extended, this API requires one of the following:

<ul> <li><b>Session identifier as a request parameter</b>: If you are using this method, you need to include the session identifier as a query parameter in the request. You can obtain the session identifier from the ID token.</li> <li><b>Session identifier as a cookie</b>: If you are using this method, you need to include the session identifier as a cookie. This is the commonAuthId cookie.</li> </ul>

Parameters

NameInTypeRequiredDescription
idpSessionKeyquerystringYes

Decode the ID token and obtain the isk claim value to do this. The isk value is the session's identifier.

commonAuthIdcookiestring

Use the commonAuthId value as the session identifier in the cookie section of the request. This value can be obtained from the session cookie generated for the session.

Responses

CodeDescriptionSchema
200

Successful response.

400

Bad Request

ErrorRequest
500

Server Error

ErrorServer

Schemas​

ErrorServer​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

ErrorRequest​

Type: object

4 properties
NameTypeRequiredDescription
codestring

The possible error codes are as follows: ISE-60001 ISE-60002 ISE-60003 ISE-60004

messagestring

The error messages respective to each code are as follows: ISE-60001: Invalid request ISE-60002: Session Key param value invalid ISE-60003: Session cookie invalid ISE-60004: Session not available / already expired

descriptionstring
traceIdstring

Was this page helpful?