# auth.md

Agents use this file to learn how Naples Elite Lacrosse Training issues credentials. There is no public signup and no interactive login. This site does not register an agent and does not return a token to an anonymous caller.

## Audience

An agent reading the public site, or a holder of a key the operator already issued for the MCP server at `https://mcp.napleslacrossetraining.com/mcp`.

## Registration

The operator issues the key. That is the only registration method. There is no public signup.

`https://napleslacrossetraining.com/oauth/register`, `https://napleslacrossetraining.com/oauth/token`, and `https://napleslacrossetraining.com/oauth/claim` respond and do not mint a key or create an account. There is no public register-and-get-a-token flow.

The operator sends `POST https://mcp.napleslacrossetraining.com/admin/keys` with `Authorization: Bearer` set to the operator secret. The key in the response is `nlt_<payload>.<hmac>`. A request without that secret is unauthorized and does not mint a key.

## Using the key

The holder sends the key on the MCP endpoint:

```
Authorization: Bearer nlt_…
```

`bearer_methods_supported` is `header`.

Scope `public.read` needs no token. It covers `site_summary`, `list_articles`, and `get_article`.

Scope `site.suggest` needs the pre-issued bearer. It covers `suggest_site_change`, which records a suggestion for review and does not edit the site.

## Response webhook

The key holder registers a response webhook on the MCP host `https://mcp.napleslacrossetraining.com`, using the pre-issued bearer key. This marketing site does not accept that registration.

## Discovery

- Protected resource metadata: `https://napleslacrossetraining.com/.well-known/oauth-protected-resource`
- Resource: `https://napleslacrossetraining.com`, with no trailing slash. Not the MCP endpoint.
- Authorization server metadata: `https://napleslacrossetraining.com/.well-known/oauth-authorization-server`
- The same authorization-server fields: `https://napleslacrossetraining.com/.well-known/openid-configuration`
- Server card: `https://napleslacrossetraining.com/.well-known/mcp/server-card.json`

`https://napleslacrossetraining.com/oauth/authorize` responds and does not start a login and does not mint a key. Keys are HMAC bearer tokens, so the JWK set at `https://napleslacrossetraining.com/.well-known/jwks.json` is empty.
