Skip to content

Commit f46afe5

Browse files
feat: set default domain for thirdweb auth
1 parent 7185364 commit f46afe5

File tree

1 file changed

+1
-1
lines changed
  • apps/playground-web/src/app/connect/auth/server/actions

1 file changed

+1
-1
lines changed

apps/playground-web/src/app/connect/auth/server/actions/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { generateAccount, privateKeyToAccount } from "thirdweb/wallets";
88
const privateKey = process.env.THIRDWEB_ADMIN_PRIVATE_KEY;
99

1010
const thirdwebAuth = createAuth({
11-
domain: process.env.NEXT_PUBLIC_THIRDWEB_AUTH_DOMAIN || "",
11+
domain: process.env.NEXT_PUBLIC_THIRDWEB_AUTH_DOMAIN || "thirdweb.com",
1212
client: THIRDWEB_CLIENT,
1313
adminAccount: privateKey
1414
? privateKeyToAccount({ client: THIRDWEB_CLIENT, privateKey })

0 commit comments

Comments
 (0)