> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifique.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuth

> Conecta apps de terceros y asistentes de IA con OAuth 2.1 — el usuario aprueba, recibes token temporal.

<Tip>
  OAuth es la **credencial prestada**: el usuario inicia sesión en Notifique y autoriza lo que tu app puede hacer — sin compartir API Key.
</Tip>

## Metadatos

| Ruta                                          | Uso                 |
| --------------------------------------------- | ------------------- |
| `GET /.well-known/oauth-authorization-server` | Discovery RFC 8414  |
| `GET /.well-known/jwks.json`                  | Claves públicas JWT |
| `GET /.well-known/oauth-protected-resource`   | Discovery MCP       |

## Apps OAuth del workspace (API v1)

Gestione apps **creadas en el panel** del workspace (distinto del DCR en `/oauth/register` para hosts MCP):

| Método         | Ruta                                     | Alcances                                |
| -------------- | ---------------------------------------- | --------------------------------------- |
| GET            | `/v1/oauth/apps`                         | `oauth_apps:read`                       |
| POST           | `/v1/oauth/apps`                         | `oauth_apps:manage`                     |
| GET/PUT/DELETE | `/v1/oauth/apps/{id}`                    | `oauth_apps:read` / `oauth_apps:manage` |
| POST           | `/v1/oauth/apps/{id}/rotate-secret`      | `oauth_apps:manage`                     |
| GET            | `/v1/oauth/connections`                  | `oauth_apps:read`                       |
| POST           | `/v1/oauth/connections/{grantId}/revoke` | `oauth_apps:manage`                     |

Para registro DCR (ChatGPT, Claude, MCP), use `POST /oauth/register` — vea [Quick Start OAuth](/es/oauth-api/como-funciona/quick-start).

## Guía completa

* [Introducción OAuth](/es/oauth-api/como-funciona/introducao)
* [Quick Start OAuth](/es/oauth-api/como-funciona/quick-start)
