# auth.md — Digital Pilot Agent Registration

**Site:** https://digitalpilot.com.br
**Owner:** Digital Pilot — Web Development Agency
**Contact:** contato@digitalpilot.com.br

## Agent Registration

AI agents may interact with this site programmatically. To register as an agent:

1. Publish your public identity document at a stable URL
2. Contact us at contato@digitalpilot.com.br with your agent identity URL
3. We will issue credentials for API access

## OAuth / OIDC Discovery

- Authorization Server: `/.well-known/oauth-authorization-server`
- OpenID Configuration: `/.well-known/openid-configuration`
- Protected Resource Metadata: `/.well-known/oauth-protected-resource`

## Supported Identity Types

- `identity_assertion` — agent identity via JWT assertion (ID-JAG)
- `anonymous` — anonymous access for public content

## Credential Types

- `bearer` — OAuth 2.0 Bearer Token (RFC 6750)

## Registration Endpoint

`POST https://digitalpilot.com.br/oauth/register`

```json
{
  "agent_id": "your-agent-id",
  "agent_identity_url": "https://your-agent-host/.well-known/agent-identity",
  "scopes_requested": ["read"]
}
```

## Claims & Revocation

- Claims endpoint: `https://digitalpilot.com.br/oauth/claims`
- Revocation endpoint: `https://digitalpilot.com.br/oauth/revoke`

## Permissions

AI agents are welcome to:
- Read public content on this site
- Access the API catalog at `/.well-known/api-catalog`
- Index content for search and AI training (see `robots.txt` Content-Signal directives)

## Resources

- [RFC 8414 - OAuth 2.0 Authorization Server Metadata](https://www.rfc-editor.org/rfc/rfc8414)
- [RFC 9728 - OAuth 2.0 Protected Resource Metadata](https://www.rfc-editor.org/rfc/rfc9728)
- [WorkOS Auth.md Spec](https://github.com/workos/auth.md)