Skip to content

Open source personal finance application

security: encrypt OAuth tokens at rest

Ilya Komichev7b91c2d49bda
diff --git a/convex/auth.ts b/convex/auth.ts
index 5dfdbf23..8d79d78c 100644
--- a/convex/auth.ts
+++ b/convex/auth.ts
@@ -34,6 +34,9 @@ function createAuth(ctx: GenericCtx<DataModel>) {
}
}),
},
+ account: {
+ encryptOAuthTokens: true,
+ },
plugins: [
convex({
authConfig,