> For the complete documentation index, see [llms.txt](https://geolytix.gitbook.io/xyz-developer-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://geolytix.gitbook.io/xyz-developer-guide/routes/auth/login.md).

# /login

## login form inputs.

<mark style="color:green;">`POST`</mark> `geolytix.xyz/login`

This endpoint checks user credentials and will either redirect to the client interface with a temporary access token or redirect to the login view.

#### Query Parameters

| Name     | Type   | Description                                        |
| -------- | ------ | -------------------------------------------------- |
| email    | string | The email address associated with an user account. |
| password | string | The user account password.                         |

{% tabs %}
{% tab title="301 A /login post will always return a redirect." %}

```
If valid credentials were provided the redirect will access the client interface with a temporary access token.

If invalid credentials were provided the redirect will open the login view with a message in regard to the login failure.
```

{% endtab %}
{% endtabs %}
