Transfer a session by using SMS

Once a user is already authenticated, creates a session in a new Domain Name Service (DNS) domain.

A valid session must exist. The environment must be configured for Short Message Service (SMS).

Method

POST /EAI/api/session/resumeSession

Example cURL request

curl -X POST -d "sessionID=123456&redirect=https://your.site.com/protectedResource" https://gateway.domain.com/EAI/api/session/resumeSession

Request parameters

A request includes a JSON payload that contains the following parameters.

Table 1. Request parameters
Parameter name Description
sessionID The user's SMS session ID.
redirect The URL to send the user after you resume the session.

Returns

200: Customer-specific configuration might result in a 200 with JavaScript: redirect to the location specified.
302: Redirect.
Failure: If a failure occurs, WebSEAL redirects to the configured error page.

On success, the user's session cookies are returned as well.