---
title: "OAuth2 client_credentials grant (simplified)"
method: POST
path: "/auth/oauth"
tags: ["Authentication"]
---

# OAuth2 client_credentials grant (simplified)

`POST /auth/oauth`

Simulated OAuth2 flow. Use client_id=`sandbox-client` and client_secret=`sandbox-secret`.

## Request body

- object
  - `grant_type` 'client_credentials', required
  - `client_id` string, required
  - `client_secret` string, required
  - `scope` string

## Response `200`

Default Response

---

[API](https://skmtc.net/totalshiftleft/apis/api-learning-sandbox.md) · [All operations](https://skmtc.net/totalshiftleft/apis/api-learning-sandbox/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/totalshiftleft/api-learning-sandbox/revisions/3b3179c504b0/schema)
