feat: add clerk auth support with convex (#548)

This commit is contained in:
Aman Varshney
2025-08-29 00:21:08 +05:30
committed by GitHub
parent 8d48ae0359
commit 54bcdf1cbc
153 changed files with 1954 additions and 771 deletions

View File

@@ -164,7 +164,7 @@ export const server = await Worker("server", {
DATABASE_URL: alchemy.secret(process.env.DATABASE_URL),
{{/if}}
CORS_ORIGIN: process.env.CORS_ORIGIN || "",
{{#if auth}}
{{#if (eq auth "better-auth")}}
BETTER_AUTH_SECRET: alchemy.secret(process.env.BETTER_AUTH_SECRET),
BETTER_AUTH_URL: process.env.BETTER_AUTH_URL || "",
{{/if}}
@@ -190,4 +190,4 @@ console.log(`Web -> ${web.url}`);
console.log(`Server -> ${server.url}`);
{{/if}}
await app.finalize();
await app.finalize();