---
title: "Auth Success"
method: GET
path: "/auth/success"
tags: ["authentication"]
---

# Auth Success

`GET /auth/success`

## Request

- Base URL: `https://api.codeofpaper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codeofpaper.com/auth/success`
- Auth: none declared

Display authentication success page with access token.

This page is shown after successful GitHub OAuth callback.
Displays the access token and redirects to the frontend.

## Query parameters

- `access_token` string, required
- `user_name` string, required
- `user_username` string, required
- `user_avatar` string

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api.md) · [All operations](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/revisions/94ea47fd4aa1?raw)
