Origami

Authentication

API keys for programs, sign-in for people, OAuth for apps.

Origami knows three kinds of callers. Programs use API keys. People sign in to the console. Apps that a person connects through MCP get an OAuth token.

API keys

Send the key in the Authorization header of every request:

http
Authorization: Bearer og_sk_...
  • A key belongs to an organization, not to a person. It reaches all of the organization's workspaces, and keeps working when the person who made it leaves.
  • Owners and administrators create and revoke keys in the console, under API keys. A key is shown once, when it's made: Origami keeps only a hash of it.
  • A revoked key stops working within 30 seconds.
  • A key can't manage keys or people. Whoever holds one could otherwise keep access forever.

Make one key for each program, named after it, so that you can revoke one without stopping the others. Keep keys out of source code and out of what an agent can read back.

People

People sign in to the console with Google. For now only addresses the service allows can sign in. An owner or an administrator adds others to an organization by inviting them from the Members page.

The console's session isn't meant for programs. Use a key.

Apps connected through MCP

An app such as Claude can connect to Origami's MCP server on a person's behalf. The person signs in at the console, chooses one of their organizations and allows the app in. The app gets an OAuth token for that organization alone, which stops working when the person leaves it. See Connecting agents with MCP.

When it fails

StatusCodeMeans
401unauthorizedNo key, or a key that isn't valid or was revoked
403forbiddenThe caller is known but may not do this, such as a key that tries to manage keys

See Errors for the shape of an error.