Skip to content

OAuthConnection

An account the app signed you in to, through a service your manifest declares in oauth (see “The app: sign-in” in the integration kit guide). Never a token: ask OAuth.token for one.

optional account?: string

Who it is, once you’ve said (OAuth.describe): an account or workspace id…


connectedAt: string

ISO 8601.


id: string


optional label?: string

…and its name, as Settings shows it (“Acme”).


needsReconnect: boolean

The service stopped accepting it: offer Connect again.


optional scopes?: string[]

What the service granted, when it said.