sign_in

The sign_in resource requests authorization.

This resource sets the authentication cookies required for future requests. A sign_in may fail if there are still valid authentication cookies. The cookies can be reset with a request to sign_out.

URI

http[s]://<server>:<port>/authentication/sign_in

Supported HTTP methods

Content-Type header

The Content-Type header is application/json.

Payload

Status codes

Status Status code Description
Successful authentication 200 (OK) A cookie with the name LWSSO_COOKIE_KEY is set as a response cookie. See Cookies.
Failed authentication 401 (Unauthorized) Not authenticated.

Cookies

Upon successful authentication, a cookie with the name LWSSO_COOKIE_KEY is set as a response cookie.

  • A cookie with the name HPSSO_COOKIE_CSRF is sent as a response cookie if specified. By default, this cookie is not sent.

  • Back to top

    See also: