Skip to content

app.oauth_apps

TableRow level security on

OAuth 2.1 clients an org registers for user-delegated access to the public API (Section 10.1). Public clients using PKCE: no client secret exists. Scopes map one to one to capability groups.

Primary key: id

Columns of app.oauth_apps
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOrg that registered the app and whose data it may reach.References app.organizations.id
nametextNoApp name shown on the consent screen.
client_idtextNoOAuth client identifier, issued by the database and never changed.
redirect_uritextNoRegistered redirect URI: HTTPS, or a loopback address for native apps; no fragment.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id