---
title: "Start Discord login"
method: GET
path: "/oauth/discord/login"
tags: ["Account"]
---

# Start Discord login

`GET /oauth/discord/login`

Begins the Discord-federated login: redirects the browser to Discord (`identify` scope). On success the user is redirected to the configured website URL with `access_token`, `refresh_token`, `token_type`, `expires_in` in the URL fragment (or returns them as JSON if no redirect is configured). The Discord account must be linked to a Minebox account (in-game `/discord link`).

## Other responses

- `302` — Redirect to Discord
- `403` — Discord account not linked / API access disabled

---

[API](https://skmtc.dev/minebox/apis/minebox-api.md) · [All operations](https://skmtc.dev/minebox/apis/minebox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minebox/minebox-api/revisions/0e6f31964bc7/schema)
