---
title: "Social Connect Token"
method: POST
path: "/auth/social/connect-token"
tags: ["AUTH"]
---

# Social Connect Token

`POST /auth/social/connect-token`

Mint a short-lived, one-time ``login_token`` for an already-authenticated
user so a client (e.g. the CLI) can obtain the session/auth_token via
/auth/social/exchange — reusing the same machinery as the Google flow.

The raw auth_token is never handed to the client over a loopback URL; the
exchanged token is one-time (its jti is consumed off the user row) and
short-lived.

## Headers

- `x-tenant` string

## Response `200`

Successful Response

- object

## Other responses

- `401` — Not authenticated.
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
