# Auth.md — Agent authentication policy

**Site:** https://finalexpenseagency.net  
**Updated:** 2026-07-16

## Summary

Most of this website is **public**. AI agents may read content and use the **public lead API** without OAuth.

There is **no end-user OAuth/OIDC login** for customers on this static marketing site. Do not expect `/.well-known/openid-configuration` to describe a consumer SSO product.

## Public (no auth)

| Resource | Notes |
|----------|--------|
| HTML pages, guides, PDF | Open crawl (see `robots.txt` Content-Signal) |
| `GET /openapi.json` | API description |
| `GET /.well-known/*` discovery docs | Open |
| `POST /api/lead` | Public lead intake; origin/referer or optional agent key |

### Calling POST /api/lead as an agent

Preferred:

```http
POST /api/lead HTTP/1.1
Host: finalexpenseagency.net
Content-Type: application/json
Referer: https://finalexpenseagency.net/
Accept: application/json

{"name":"Agent Lead","email":"user@example.com","phone":"4845551212","form_type":"agent_referral","message":"..."}
```

Optional (if site operator set `AGENT_API_KEY` in Cloudflare):

```http
X-Agent-Key: <shared secret>
```

When `X-Agent-Key` matches, Origin/Referer checks are relaxed for automation.

## Protected / restricted

| Resource | Notes |
|----------|--------|
| `POST /api-proxy` | Site quote proxy to BackNine; browser CORS + rate limits; not a public open API for bulk scraping |
| Admin paths | Disallowed in robots.txt; not published |

## OAuth Protected Resource Metadata

See `/.well-known/oauth-protected-resource` — documents that primary agent actions are public lead submission, not bearer-token APIs.

## Registration

Human or agent operators who need a dedicated integration key: call **(484) 729-8157** or email **info@finalexpenseagency.net** with subject `Agent API access`.

## Contact

- Phone: (484) 729-8157  
- NPN: 20704118  
- Web: https://finalexpenseagency.net/contact.html
