---
title: "Test a single authentication scheme"
method: POST
path: "/auth/protected/{scheme}"
tags: ["Auth Testing"]
---

# Test a single authentication scheme

`POST /auth/protected/{scheme}`

Send credentials for the given scheme. 200 + identity on success; 401 + reason (and the correct challenge header) on failure.

## Path parameters

- `scheme` string, required

## 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)
