---
search:
  tags:
    - OAuthProviderWellKnown
    - GET
seo:
  description: >-
    RFC 9728 metadata naming the authorization server for this API and…
    Reference for the GET /.well-known/oauth-protected-resource endpoint in the
    varsafe API.
sidebar:
  label: Protected resource metadata
  badge: GET
title: Protected resource metadata
type: openapi-operation
---
RFC 9728 metadata naming the authorization server for this API and the scopes it supports.

`GET /.well-known/oauth-protected-resource`

**Responses**

- `200` — Success.
- `400` — The request failed validation. \`field\` names the offending input.
- `404` — The resource does not exist, or is not visible to this credential.
- `429` — Rate limited. Retry after the interval named in the response.
- `500` — Unexpected server error. The body never carries internal detail.

Response example, 200:

```json
{
  "resource": "http://example.com",
  "authorization_servers": [
    "http://example.com"
  ],
  "scopes_supported": [
    "secrets:read"
  ],
  "bearer_methods_supported": [
    "header"
  ]
}
```
