GET login form and/or user information

Changed on
get/login

Request

  • The document declares no server URL.
  • Auth
    none declared

Response

Login form or user information. The JSON response will always carry the csrf_token information. If SECURITY_CSRF_COOKIE_NAME is set then a cookie with the csrf token will be set. If the caller is already authenticated, then additional information is returned for JSON requests. This can be very useful for single-page applications where during a force refresh, all state is lost. By performing this GET, the session cookie will authenticate the user and the response will contain user information.

Example response

{
  "meta": {
    "code": 200
  }
}

Changes

    • info

      added to the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      added the optional property // to the response with the status