---
title: "Handle O Auth"
method: GET
path: "/api/oauth/{provider}"
tags: ["OAuth"]
---

# Handle O Auth

`GET /api/oauth/{provider}`

## Request

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

## Path parameters

- `provider` string, required

## Query parameters

- `state` string
- `code` string

## Response `200`

OK

- ApiResponse
  - `data` unknown
  - `message` string, required
  - `object` string
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
