---
title: "Oauth Callback"
method: GET
path: "/api/hf-auth/oauth/callback"
---

# Oauth Callback

`GET /api/hf-auth/oauth/callback`

Handle OAuth callback from HuggingFace.

This is where HF redirects after user authorizes.
Shows a success/error page that the user can close.

## Query parameters

- `code` string, nullable
- `state` string, nullable
- `error` string, nullable
- `error_description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pollen-robotics/apis/reachy-mini-rest-api.md) · [All operations](https://skmtc.net/pollen-robotics/apis/reachy-mini-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pollen-robotics/reachy-mini-rest-api/revisions/9843f2902e88/schema)
