---
title: "Txn Oauth Start"
method: POST
path: "/api/txn/{txn_id}/oauth/{provider}"
---

# Txn Oauth Start

`POST /api/txn/{txn_id}/oauth/{provider}`

## Request

- Base URL: `https://authyouragent.com` (the document declares no server; this is the origin it was published from)
- URL: `https://authyouragent.com/api/txn/{txn_id}/oauth/{provider}`
- Auth: none declared

Approve a pending request by signing in again with a linked
Google/Microsoft account (no passkey needed). The provider is asked for
a FRESH sign-in; the callback approves only if the identity it returns
is linked to the request's owner. The state is bound server-side to
(user, txn, provider), so the callback works even when it lands in a
different browser (the Android app opens providers externally).

## Path parameters

- `txn_id` string, required
- `provider` string, required

## Request body

- ApproveLimitsIn
  - `expires_in` integer, nullable
  - `max_uses` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice.md) · [All operations](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice/llms.txt) · [OpenAPI document](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice/revisions/196372971a43?raw)
