Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/portal/src/app/connect/auth/frameworks/next/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ import { privateKeyToAccount } from "thirdweb/wallets";
import { client } from "@/lib/client";
import { cookies } from "next/headers";

const privateKey = process.env.THIRDWEB_ADMIN_PRIVATE_KEY || "";
const privateKey = process.env.AUTH_PRIVATE_KEY || "";

if (!privateKey) {
throw new Error("Missing THIRDWEB_ADMIN_PRIVATE_KEY in .env file.");
throw new Error("Missing AUTH_PRIVATE_KEY in .env file.");
}

const thirdwebAuth = createAuth({
Expand Down
Loading