# OAuth Grant Types

> Choose the authorization code or client credentials grant type of DS Server and request and refresh access tokens with /oauth/authorize and /oauth/token.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** DS Server > Administration and Settings > OAuth Grant Types
- **Web URL:** https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/llms-full.txt

---

## On This Page

- [Compare the Grant Types](https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/#compare-the-grant-types)
- [Allow the Client Credentials Grant Type](https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/#allow-the-client-credentials-grant-type)
- [Request a Token With Client Credentials](https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/#request-a-token-with-client-credentials)
- [Request a Token With an Authorization Code](https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/#request-a-token-with-an-authorization-code)
- [Next Steps](https://docs.textcontrol.com/ds-server/administration/oauth-grant-types/#next-steps)

---

## Nearby

- **Previous:** [Enable OAuth](https://docs.textcontrol.com/ds-server/administration/oauth/llms.txt)
- **Next:** [Authentication Servers](https://docs.textcontrol.com/ds-server/administration/authentication-servers/llms.txt)
