---
title: "OAuth2 authentication callback"
method: GET
path: "/auth/callback/{provider}"
tags: ["auth"]
---

# OAuth2 authentication callback

`GET /auth/callback/{provider}`

Handle the OAuth2 callback from the provider

## Path parameters

- `provider` string, required

## Query parameters

- `state` string, required
- `code` string, required

## Response `200`

Authentication successful

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/thand-io/apis/thand-agent-api.md) · [All operations](https://skmtc.net/thand-io/apis/thand-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thand-io/thand-agent-api/revisions/62befb178368/schema)
