---
title: "Authentication and permissions"
description: "Public AI Badge API and reusable tools; author visibility controls apply."
canonical: "https://ai-badge.vercel.app/auth.md"
last-updated: "2026-12-07"
---

# Authentication and permissions

## Public reads
No authentication is required for the REST and MCP read operations documented at https://ai-badge.vercel.app/docs.md. Authors must enable Agent reading. Missing, hidden and disabled resources return 404 with no owner bypass. Do not submit API keys, cookies or credentials to public read endpoints.

## Browser authoring
/dashboard and /api/me require an existing browser session. The website's GitHub OAuth login is for the human owner; it is not an OAuth authorization server for third-party Agents. There are no delegated Agent write scopes or bearer-token write APIs. Do not extract or reuse the owner's cookies. The browser login flow and Origin checks remain enforced.

## MCP verification
The verify tool requires an owner-generated one-time code from https://ai-badge.vercel.app/verify. This grants only the corresponding badge verification, expires after ten minutes and is consumed once. MCP session headers identify a transport session, not a user account. Read tools need no code.

## Revocation
Owners can hide individual tools, hide the whole section or disable Agent reading from public settings. Every API request rechecks these controls. Existing downloaded copies cannot be recalled.
