Skip to content

Commit 0ec4274

Browse files
fix(cli): simplify clerk guide in next steps
1 parent 9341865 commit 0ec4274

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

apps/cli/src/helpers/core/post-installation.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,6 @@ export async function displayPostInstallInstructions(
122122
" (this will guide you through Convex project setup)",
123123
)}\n`;
124124

125-
if (config.auth === "clerk") {
126-
output += `${pc.cyan(`${stepCounter++}.`)} ${pc.bold("Clerk Setup:")}\n${pc.dim(
127-
" Follow the Convex + Clerk guide to configure authentication:",
128-
)}\n${pc.cyan(" ")}${pc.underline("https://docs.convex.dev/auth/clerk")}\n\n`;
129-
output += `${pc.cyan(`${stepCounter++}.`)} ${pc.bold("Required Environment Variables:")}\n`;
130-
output += `${pc.dim(" •")} Set CLERK_JWT_ISSUER_DOMAIN in Convex Dashboard\n`;
131-
output += `${pc.dim(" •")} Set CLERK_PUBLISHABLE_KEY in apps/*/.env\n`;
132-
}
133-
134125
output += `${pc.cyan(
135126
`${stepCounter++}.`,
136127
)} Copy environment variables from\n${pc.white(
@@ -417,7 +408,7 @@ function getWranglerDeployInstructions(
417408
}
418409

419410
function getClerkInstructions(): string {
420-
return `${pc.bold("Clerk Authentication Setup:")}\n${pc.cyan("1.")} Sign up for Clerk at ${pc.underline("https://clerk.com/sign-up")}\n${pc.cyan("2.")} Create a new application in Clerk Dashboard\n${pc.cyan("3.")} Create a JWT template named ${pc.bold("'convex'")} (exact name required)\n${pc.cyan("4.")} Copy your Clerk Frontend API URL (Issuer URL)\n${pc.cyan("5.")} Set environment variables:\n${pc.dim(" •")} CLERK_JWT_ISSUER_DOMAIN in Convex Dashboard\n${pc.dim(" •")} CLERK_PUBLISHABLE_KEY in apps/*/.env\n${pc.cyan("6.")} Follow the complete guide: ${pc.underline("https://docs.convex.dev/auth/clerk")}\n${pc.yellow("NOTE:")} Use Convex's <Authenticated> components instead of Clerk's <SignedIn>`;
411+
return `${pc.bold("Clerk Authentication Setup:")}\n${pc.cyan("")} Follow the guide: ${pc.underline("https://docs.convex.dev/auth/clerk")}\n${pc.cyan("")} Set CLERK_JWT_ISSUER_DOMAIN in Convex Dashboard\n${pc.cyan("•")} Set CLERK_PUBLISHABLE_KEY in apps/*/.env`;
421412
}
422413

423414
function getAlchemyDeployInstructions(

0 commit comments

Comments
 (0)