# /oauth/authorize

> The /oauth/authorize endpoint of the DS Server Web API and its GET method, which redirects to a redirect URI with an authorization code or access token.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Endpoint
- **Path:** DS Server > API Reference > Web API > OAuth > /oauth/authorize
- **97 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/web-api/oauth/authorize/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/web-api/oauth/authorize/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/web-api/oauth/authorize/llms-full.txt

---

This endpoint offers the following method.

| Method | Endpoint | Description |
|---|---|---|
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/oauth/authorize/get/llms-full.txt) | [/oauth/authorize](https://docs.textcontrol.com/ds-server/reference/web-api/oauth/authorize/get/llms-full.txt) | Requests an authorization code or an access token and redirects to the redirect URI with the result. |

---

## In This Section

- [GET /oauth/authorize](https://docs.textcontrol.com/ds-server/reference/web-api/oauth/authorize/get/llms-full.txt): Request an OAuth authorization code or access token with client_id, response_type, redirect_uri and state; DS Server redirects with 302 and no sign-in page.

---

## Nearby

- **Previous:** [OAuth](https://docs.textcontrol.com/ds-server/reference/web-api/oauth/llms-full.txt)
- **Next:** [GET /oauth/authorize](https://docs.textcontrol.com/ds-server/reference/web-api/oauth/authorize/get/llms-full.txt)
