---
title: "Redirects OAuth flow errors to the frontend app."
method: POST
path: "/callback"
tags: ["oauth-client"]
---

# Redirects OAuth flow errors to the frontend app.

`POST /callback`

When an OAuth sign-in flow fails for any reason, the error message needs to be delivered to the frontend app requesting the flow. This callback delivers the errors as `error` and `error_description` query params. Usually this request is not called directly.

## Other responses

- `302` — HTTP Redirect to a URL containing the `error` and `error_description` query parameters which should be shown to the user requesting the OAuth sign-in flow.

## Changes

- **2025-09-22** `f782805361ed` — 2 info
  - api tag `oauth-client` added
  - api tag `oauth` removed
- **2023-02-01** `144a34ca6d74` — 2 info
  - api tag `oauth` added
  - api tag `oauth-client` removed

[Change history](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/changes/callback/post.md)

---

[API](https://skmtc.dev/supabase/apis/supabase-auth-rest-api.md) · [All operations](https://skmtc.dev/supabase/apis/supabase-auth-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/supabase-auth-rest-api/revisions/2e2a74a7459f/schema)
