---
title: "Login with EIP-712 signature"
method: POST
path: "/v1/auth/login"
tags: ["Authentication"]
---

# Login with EIP-712 signature

`POST /v1/auth/login`

Authenticate using an EIP-712 Login signature. Returns JWT access and refresh tokens. For returning users who already have an active on-chain allowance.

## Request body

- ApiLoginRequest
  - `account` string — Account address (0x-prefixed, checksummed)
  - `nonce` string — Server-issued nonce from GetLoginNonce
  - `deadline` integer — Unix timestamp — signature expires after this
  - `signature` string — EIP-712 Login signature (0x-prefixed hex, 65 bytes)

## Response `200`

A successful response.

- ApiLoginResponse
  - `access_token` string
  - `refresh_token` string
  - `expires_in` integer
  - `token_type` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rise/apis/risex-rest-api.md) · [All operations](https://skmtc.net/rise/apis/risex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rise/risex-rest-api/revisions/194af8339c0d/schema)
