OAuthApplication

The `OAuthApplication` entity.

Definition

TypeScript
interface OAuthApplication {
  clientId: string;
  name: string;
  type: "public" | "web" | "native" | "user-agent-based";
  redirectUrls: Array<string>;
  ownerOrgId: string;
  allowedScopes: Array<"workspace:read" | "workspace:write">;
  isFirstParty: boolean;
  disabled: boolean;
  createdAt: string;
  updatedAt: string;
}

Fields

FieldTypeNotes
clientIdstringrequired — OAuth client identifier — what 3rd-party apps pass on the authorize URL.
namestringrequired — Display name shown on the consent screen.
type"public" | "web" | "native" | "user-agent-based"required
redirectUrlsArray<string>required — Exact-match list of allowed redirect URLs.
ownerOrgIdstringrequired — Organization that owns / manages this application.
allowedScopesArray<"workspace:read" | "workspace:write">required — Upper bound of scopes this app may ever request.
isFirstPartybooleanrequired — Aeontel-internal trust flag. First-party apps may request unbound (workspace_id = null) tokens and skip consent. Set via direct DB by Aeontel admins only.
disabledbooleanrequired — If true, all authorize / token requests are rejected.
createdAtstringreadonly required — ISO-8601 timestamp of creation.
updatedAtstringreadonly required — ISO-8601 timestamp of last update.