OptionalenvironmentWallet-leg environment override. Defaults to the top-level UpbondConfig.environment (itself defaulting to 'production'); set it only to point the wallet leg at a different deployment than the issuer. Explicit fields below override the preset field-by-field.
Optionalmode'embedded' (default): the wallet lives in a wallet-origin iframe/popup
and the RP talks EIP-1193 (docs/25-widget.md) — keys, passkeys and
ceremonies never enter the RP page; only walletOrigin applies.
'redirect': the RP page itself runs the MPC ceremony via the wallet-core
layer. When mode is omitted but any local-MPC field below
(web3authClientId/network/verifier/rpId/recovery) is set, the
config is treated as 'redirect' (pre-D18 configs keep working unchanged).
OptionalnetworkRequired unless environment supplies it (redirect mode).
OptionalrecoveryRecovery-service wiring (WO 2026/003995, redirect mode). Omit to inherit
the preset's wiring (or none without a preset); pass null to disable
recovery even when the preset provides it. An explicit object merges over
the preset field-by-field — e.g. recovery: { promptOtp } just adds the
OTP UI on top of the preset URLs.
OptionalrpWebAuthn RP ID for the passkey factor; defaults to the page's domain.
OptionalverifierCustom verifier trusting the issuer JWKS (verifierId = OIDC sub). Required unless environment supplies it (redirect mode).
OptionalwalletOrigin serving the widget (embedded mode). Required unless environment supplies it.
Optionalweb3authWeb3Auth dashboard project ID (redirect mode). Defaults to UPBOND's
project via environment; set it only to run against your own Web3Auth
project. Required when no environment is set.
The embedded-wallet leg of UpbondConfig. Omit it for an auth-only integration. Two shapes share this type:
mode: 'redirect'(default) runs the MPC ceremony on the RP page and needs the Web3Auth fields;mode: 'embedded'delegates to a wallet-origin widget and needs onlywalletOrigin(docs/25-widget.md, docs/24-sdk-design.md D12). Settingenvironmentsupplies UPBOND infra defaults for either mode.