---
title: "Auth"
method: GET
path: "/oauth/auth"
tags: ["OAuth"]
---

# Auth

`GET /oauth/auth`

OAuth2.0 callback endpoint. Service providers redirect users here after they authorize or deny the application.
Args:
    request: FastAPI request instance.
    error: Error message from the service provider if the user denied.
Returns:
    Redirects user to a designated part of the application or handles error scenarios.

## Query parameters

- `error` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/akk/apis/fastapi.md) · [All operations](https://skmtc.net/akk/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akk/fastapi/revisions/6662a407c637/schema)
