# Aaronline auth.md

Aaronline supports agent registration discovery for agents that want to help a user contact Aaronline about websites, webshops, applications, AI solutions, hosting, or e-mail.

## Discovery

1. Fetch the OAuth Protected Resource Metadata:

   GET https://www.aar-online.nl/.well-known/oauth-protected-resource

2. Fetch the OAuth Authorization Server Metadata advertised there:

   GET https://www.aar-online.nl/.well-known/oauth-authorization-server

3. Read the `agent_auth` block for registration metadata.

## Registration

The current agent registration path is verified-email, human-assisted registration. Use the registration URI below and include the user's verified email address, organization name when available, intended purpose, requested scope, and a contact URL for the agent operator.

- Registration URI: https://www.aar-online.nl/agent/register
- Contact URI: https://www.aar-online.nl/contact
- Supported identity types: identity_assertion
- Supported assertion types: verified_email
- Supported credential types: oauth2_bearer
- Supported scope: public:read
- Bearer method: Authorization header

Aaronline reviews registration requests before issuing credentials or approving automated access. Do not probe OAuth token, authorization, or revocation endpoints unless a registration response explicitly tells you to use them.

## Credential Use

After Aaronline approves a registration, present any issued access token as:

```http
Authorization: Bearer <access_token>
```

Use tokens only for the approved purpose and scope. If a token stops working, restart discovery from the protected resource metadata and follow the latest instructions.
