# Micro AI Agency auth.md

## Audience

This document is for AI agents and automated clients acting on behalf of an authorised human user who need to understand authentication requirements for micro-aiagency.com.

## Public access

The public website, robots.txt, sitemap.xml, llms.txt and auth.md are available without authentication. Public content may be read in accordance with the published robots.txt and Content-Signal preferences.

## Public A2A agent

Micro AI Agency publishes a deliberately limited, anonymous, read-only A2A agent for public discovery:

- Agent Card: https://micro-aiagency.com/.well-known/agent-card.json
- JSON-RPC endpoint: https://micro-aiagency.com/a2a
- Scope: public company/capability metadata and public discovery API health only
- Write actions: not supported
- Customer, CRM, CAPS, UAT, credential and administrative access: not exposed

The public A2A agent does not grant protected access and does not replace the user-mediated authentication requirements described below.

## Agent registration and provisioning

Micro AI Agency does not currently expose a public autonomous agent-registration or credential-issuance API.

When a protected browser experience requires identity, provisioning is user-mediated:

- Provisioning URI: https://micro-aiagency.com/signin-with-chatgpt
- Method: browser-mediated Sign in with ChatGPT
- User action required: yes
- Callback handling: managed by the hosted authentication layer. Agents must not call the callback directly.
- Public POST /agent/auth: not offered

If an agent needs protected access, it must ask the human user to complete the official sign-in flow and continue within the resulting authorised session.

## Supported methods

- anonymous: public resources
- interactive_user: browser-mediated Sign in with ChatGPT for supported protected experiences

No general-purpose bearer-token API for autonomous agents is advertised by this service.

## Credential use

- Session credentials, OAuth cookies and identity headers are handled by the hosted authentication layer.
- Agents must not copy, persist, log, expose or transmit session cookies, callback parameters or identity headers.
- Credentials are valid only within the authorised same-origin user session and must not be reused for another user or service.
- Server-side identity headers may be used by protected routes after successful authentication.

## Protected resources

Paths including /api/, /crm, /png, /caps-uat, /oauth/consent, /signin-with-chatgpt, /signout-with-chatgpt and /callback are not public crawl targets.

Authentication does not grant access outside the signed-in user's permissions. Write actions require an authorised user context and remain subject to application controls and human review where configured.

## OAuth discovery metadata

Micro AI Agency publishes OAuth/OIDC discovery metadata for its dedicated AI-agent authorization service at:

- OAuth protected resource metadata: https://micro-aiagency.com/.well-known/oauth-protected-resource
- OAuth authorization server metadata: https://micro-aiagency.com/.well-known/oauth-authorization-server
- OpenID Connect discovery: https://micro-aiagency.com/.well-known/openid-configuration

The authorization server is dedicated to future approved AI-agent integrations and is separate from CRM, CAPS, UAT and other internal services.

Dynamic OAuth client registration is not publicly enabled. A discovery document does not by itself grant access to protected resources. Agents must use only explicitly registered clients, approved scopes and user-authorised flows.
