diff --git a/packages/platform-objects/src/apps/translations/en.objects.generated.ts b/packages/platform-objects/src/apps/translations/en.objects.generated.ts index c40304b5f41..0ec9d21067b 100644 --- a/packages/platform-objects/src/apps/translations/en.objects.generated.ts +++ b/packages/platform-objects/src/apps/translations/en.objects.generated.ts @@ -1217,7 +1217,7 @@ export const enObjects: NonNullable = { }, client_secret: { label: "Client Secret", - help: "OAuth client secret (hashed/encrypted at rest)" + help: "OAuth client secret — stored as a SHA-256 digest, never plaintext (`@better-auth/oauth-provider`'s `storeClientSecret`, which defaults to hashed whenever the jwt plugin is enabled; wired in plugin-auth's `AuthManager.buildPluginList()`, oidcProvider branch). Shown once at registration." }, redirect_uris: { label: "Redirect URIs", diff --git a/packages/platform-objects/src/identity/sys-oauth-application.object.ts b/packages/platform-objects/src/identity/sys-oauth-application.object.ts index cb1d371eca5..ee4035029f0 100644 --- a/packages/platform-objects/src/identity/sys-oauth-application.object.ts +++ b/packages/platform-objects/src/identity/sys-oauth-application.object.ts @@ -301,7 +301,12 @@ export const SysOauthApplication = ObjectSchema.create({ label: 'Client Secret', required: false, maxLength: 1024, - description: 'OAuth client secret (hashed/encrypted at rest)', + // Citation, not a re-measurement: #8011 already verified by real + // round-trip that this column stores a SHA-256 digest and never + // receives cleartext (#8313). The description below exists so a + // declaration-reading survey can confirm the claim from the storage + // side instead of re-measuring it a third time. + description: 'OAuth client secret — stored as a SHA-256 digest, never plaintext (`@better-auth/oauth-provider`\'s `storeClientSecret`, which defaults to hashed whenever the jwt plugin is enabled; wired in plugin-auth\'s `AuthManager.buildPluginList()`, oidcProvider branch). Shown once at registration.', group: 'Credentials', }),