---
title: "Login using email/password"
method: POST
path: "/v2/login/credential"
tags: ["Login"]
deprecated: true
---

# Login using email/password

`POST /v2/login/credential`

> **Deprecated.**

Login using the email and the password of a valid Stratumn user

## Request body

- LoginCredentialDto
  - `email` string, required — The email used to login
  - `password` string, required — The password used to login

## Response `200`

The jwt auth token

- TokenV2Dto
  - `error` unknown, required
  - `data` object — The data of the request
    - `token` string, required — The token needed (in authorization header) to authenticate requests

## Changes

- **2024-11-29** (v2) `7acd41fdff82` — 2 info
  - api tag `Login` added
  - api tag `login` removed

[Change history](https://skmtc.dev/stratumn/apis/open-api/changes/v2/login/credential/post.md)

---

[API](https://skmtc.dev/stratumn/apis/open-api.md) · [All operations](https://skmtc.dev/stratumn/apis/open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stratumn/open-api/revisions/7acd41fdff82/schema)
