Skip to content

Commit bb44352

Browse files
feat: set default domain for thirdweb auth (#5196)
## Problem solved Addresses CNCT-2132 <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `domain` configuration in the `createAuth` function for the `thirdwebAuth` object, changing its default value to "thirdweb.com". ### Detailed summary - Updated the `domain` property in `createAuth` from an empty string to "thirdweb.com". > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent aa0f397 commit bb44352

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)