---
title: "LoginMystnodesWithGrant"
method: POST
path: "/auth/login-mystnodes"
tags: ["SSO"]
---

# LoginMystnodesWithGrant

`POST /auth/login-mystnodes`

SSO login using grant provided by mystnodes.com

## Response `200`

grant was verified against mystnodes using PKCE workflow. This will set access token cookie.

## Other responses

- `401` — grant failed to be verified

## Changes

- **2023-05-04** `53c6f9d2c775` — 2 info
  - added the non-success response with the status `401`
  - added the success response with the status `200`
- **2023-05-04** `9e3289441605` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - removed the non-success response with the status `401`
- **2023-05-02** `758c324b316f` — 2 info
  - added the non-success response with the status `401`
  - added the success response with the status `200`
- **2023-04-27** `928024decbd9` — 1 info
  - endpoint added
- **2022-08-22** `b79669d1cc2e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mysteriumnetwork/apis/tequila-api/changes/auth/login-mystnodes/post.md)

---

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