REGISTRY_SIGN_IN

tcmts.registry.session.REGISTRY_SIGN_IN · #fopjulsa · constant · runs anywhere

How the registry signs visitors in: to write their stars (and nothing else), told to its server, which serves its client document at /api/oauth/client.

import type { SignInOptions } from "#codebase/tcmts/atproto";
import { REGISTRY_SCOPE } from "#codebase/tcmts/registry/session";

export const REGISTRY_SIGN_IN: SignInOptions = {
  scope: REGISTRY_SCOPE,
  client: "/api/oauth/client",
  server: true,
}

uses

used by