Environments

POST /ingress/login-grants

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

hoststring required

The hostname, without a port.

nextstring nullable

Path on the host to return to.

owner_idinteger required
owner_kindstring required

environment or sandbox (a sandbox preview host).

portinteger nullable

The port the visitor reached the host on, when the proxy's request carries one (it leaves out the scheme's default). Pass it through unchanged: it is part of the signature.

schemestring required

http or https: how the visitor reached the host.

sigstring required
tsinteger required

Unix seconds the proxy signed the request at.

Response

Grant issued; send the browser to redirect_url

expires_atstring required

When the session this grant can start expires. ISO 8601, UTC.

grant_idinteger required
redirect_urlstring required

Where the browser goes next: the host's exchange path with a short-lived grant. Contains a credential; do not store it.

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    3 more changes in this revision