---
title: Authentication
description: "How agents and automated clients authenticate with Gallery's public API. Gallery is a read-only public content service; no credentials are required."
canonical: "https://gallery.je/auth.md"
last-updated: 2026-12-01
---
# Authentication

Gallery Magazine (gallery.je) is a public, read-only content service. No authentication is required to read articles, categories, authors, topics, feeds, sitemaps or any other public endpoint. All content is served over HTTPS; the full endpoint catalog is at [/.well-known/api-catalog](https://gallery.je/.well-known/api-catalog).

This document follows the [WorkOS auth.md](https://github.com/workos/auth.md) convention so an agent can confirm no auth flow applies before falling back to anonymous requests.

## Discover

Start at these discovery documents:

- [AGENTS.md](https://gallery.je/AGENTS.md) — site-wide agent guidance
- [llms.txt](https://gallery.je/llms.txt) — LLM-friendly site index
- [.well-known/ard.json](https://gallery.je/.well-known/ard.json) — Agent Resource Document (ARD v0.91)
- [.well-known/api-catalog](https://gallery.je/.well-known/api-catalog) — public API endpoint linkset (RFC 9727)
- [.well-known/oauth-protected-resource](https://gallery.je/.well-known/oauth-protected-resource) — RFC 9728 protected-resource metadata (declares no authorization servers)

## Pick a method

Gallery's public read endpoints under `/api/*` are **anonymous**. There is no `agent_auth` block in the authorization-server metadata because Gallery does not operate an authorization server. The `identity_endpoint`, `claim_endpoint` and `events_endpoint` are intentionally NOT advertised — agents should treat Gallery as an unprotected resource.

For reference, if a Gallery endpoint were ever protected, the preferred flow would be the `identity_assertion` pattern using an ID-JAG token (`urn:ietf:params:oauth:token-type:id-jag`), consistent with the WorkOS auth.md `identity_types_supported` enum (which admits `anonymous`, `identity_assertion`, `service_auth`). The ID-JAG URN belongs inside `identity_assertion.assertion_types_supported`, not at the top level.

## Register

No registration. Gallery does not issue API keys, client credentials, OAuth client IDs or any form of per-caller identity. Just send HTTPS GET requests.

## Claim

Not applicable — no identity assertion is minted or claimed for public reads. An agent that wants to be identifiable in access logs may set a descriptive `User-Agent` header, but this is advisory only and never required.

## Exchange

Not applicable — no token exchange is required. There is no `token_endpoint`.

## Use the access_token

Not applicable — no `access_token` is required. Make standard HTTPS GET requests:

```
GET https://gallery.je/api/articles?limit=20
Accept: application/json
```

## Errors

Public read endpoints return conventional HTTP status codes. Gallery does not currently serve any endpoint that would respond `401 Unauthorized`.

If a Gallery endpoint were ever protected, it would carry the RFC 9728 pointer in a standard challenge:

```
WWW-Authenticate: Bearer resource_metadata="https://gallery.je/.well-known/oauth-protected-resource"
```

## Revocation

Not applicable — no tokens are issued, so nothing can be revoked. There is no `revocation_endpoint`.

## Related endpoints

- [/.well-known/api-catalog](https://gallery.je/.well-known/api-catalog) — RFC 9727 linkset of every public endpoint
- [/developers](https://gallery.je/developers) — developer portal with quickstart + OpenAPI
- [/api/openapi.json](https://gallery.je/api/openapi.json) — OpenAPI 3.1 service description
- [/AGENTS.md](https://gallery.je/AGENTS.md) — rate-limit and citation guidance
