Session extension API
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
idpSessionKey | query | string | Yes | Decode the ID token and obtain the |
commonAuthId | cookie | string | 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
| Code | Description | Schema |
|---|---|---|
200 | Successful response. | |
400 | Bad Request | ErrorRequest |
500 | Server Error | ErrorServer |
Schemas
ErrorServer
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | ||
message | string | ||
description | string | ||
traceId | string |
ErrorRequest
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | The possible error codes are as follows: ISE-60001 ISE-60002 ISE-60003 ISE-60004 | |
message | string | 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 | |
description | string | ||
traceId | string |
Was this page helpful?