Login to application

Changed on

Supports both json and form request types. If the caller is already logged in, then in the form case, they are redirected to SECURITY_POST_LOGIN_VIEW, for a json request, a 400 is returned.

post/login

Request

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

Query parameters

nextstring

URL to redirect to on successful login. Ignored for json request.

include_auth_tokenstring

If set/sent, will return an Authentication Token for user

Request body

emailstring required

user email

passwordstring required

Password

rememberboolean

If true, will remember userid as part of cookie. There is a configuration variable DEFAULT_REMEMBER_ME that can be set. This field will override that.

Response

Login response

Example response

{
  "meta": {
    "code": 200
  },
  "response": {
    "tf_method": "webauthn"
  }
}

Changes

    • info

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

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added subschema #1 to the response body allOf list for the response status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status