Privy Internal Demo
SDK version
: 3.4.1
App ID
: cla06f34x0001mh08l8nsr496
Privy Light (default)
Privy Dark
System
Linear
Cream
Forest
Links
Flags
Use mobile connectors
{ showMobileConnectors: false }
Auth
login()
login({disableSignup: true})
login({loginMethods: ['email']})
login({loginMethods: ['sms', 'google', 'wallet']})
login({loginMethods: ['wallet']})
login({loginMethods: ['passkey']})
login({prefill: {type: 'email', value: 'demo@privy.io'}})
login({prefill: {type: 'phone', value: '+15551231234'}})
login({prefill: {type: 'phone', value: +447400123456'}})
login({walletChainType: 'ethereum-only'})
login({walletChainType: 'solana-only'})
createGuestAccount()
Login with passkey
SIWF V2
JWT Auth
JWT Auth
Wallets
connectOrCreateWallet()
connectWallet()
connectWallet({description: ...})
connectWallet({walletList: ['metamask', 'safe'], description: 'Custom connect wallet description'})
connectCoinbaseSmartWallet()
connectBaseAccount()
Print Base sub-account
Cross App
loginWithCrossAppAccount({appid: 'clxazfgyz000110geifn9qafg'})
loginWithCrossAppAccount({appid: 'cmekawjb80006kv0bz1zdogey'})
Links
Go to headless login flow
Go to nested iframe login
Connected wallets
Connected Solana wallets