You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: recreate the dropped install-secret table for the backfill replay
The migration test clones live tables into a scratch schema, and changeset -56
removed app_install_secret from the live schema — on an upgrade the backfill
under test runs while the table still exists, so the scratch copy is now
created by hand with its historical shape. Also regenerates the API schema for
the corrected owned-apps secrets description.
/** Returns every app-level secret, revoked ones included, without disclosing any of them. These administer the appacross every organization that installed it and grant access to no data — they are not the per-install secrets under `/apps/{installId}/secrets`. */
361
+
/** Returns every secret of the app, revoked ones included, without disclosing any of them. They are the app's only long-lived credentials — everything the app does across every organization that installed it starts from them. `lastUsedAt` is what tells you whether the app has moved to a newly issued secret and the old one can be revoked. */
362
362
get: operations["listSecrets"];
363
363
/** Phase one of an app-level rotation: mints a second secret while every existing one keeps working. The app's installs, their own secrets, their organization availability and their per-project enablements are all untouched. The new secret is both returned here — the only place it is ever disclosed — and pushed to the app over the lifecycle channel. */
/** @description App-level OAuth client id. Present only in the response to registering the app — an organization that merely installed it never sees it. */
1729
1729
clientId?: string;
1730
-
/** @description App-level OAuth client secret in plaintext. Administers the app across every organization that installed it and grants access to no data. Present only in the response to registering the app; Tolgee stores only a hash and cannot show it again. */
1730
+
/** @description App-level OAuth client secret in plaintext — the app's only long-lived credential; the token endpoint exchanges it for install-scoped access tokens. Present only in the response to registering the app; Tolgee stores only a hash and cannot show it again. */
* @description When the secret was revoked, or null while it still authenticates
1753
1753
*/
1754
1754
revokedAt?: number;
1755
-
/** @description The secret in plaintext. Present only in the response to issuing it — Tolgee stores only a hash and cannot show it again. It administers the app and grants access to no data. */
1755
+
/** @description The secret in plaintext. Present only in the response to issuing it — Tolgee stores only a hash and cannot show it again. Everything the app does starts from it — the token endpoint exchanges it for the short-lived tokens that reach translation data. */
/** Returns every app-level secret, revoked ones included, without disclosing any of them. These administer the appacross every organization that installed it and grant access to no data — they are not the per-install secrets under `/apps/{installId}/secrets`. */
13955
+
/** Returns every secret of the app, revoked ones included, without disclosing any of them. They are the app's only long-lived credentials — everything the app does across every organization that installed it starts from them. `lastUsedAt` is what tells you whether the app has moved to a newly issued secret and the old one can be revoked. */
0 commit comments