You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web3Auth is where passwordless auth meets non-custodial key infrastructure for Web3 apps and wallets. By aggregating OAuth (Google, Twitter, Discord) logins, different wallets and innovative Multi Party Computation (MPC) - Web3Auth provides a seamless login experience to every user on your application.
import Web3Auth
letweb3auth=tryWeb3Auth(W3AInitParams(
// Get your Web3Auth Client Id from dashboard.web3auth.io
clientId:"YOUR_WEB3AUTH_CLIENT_ID",
network:.sapphire_mainnet,
redirectUrl:"bundleId://auth"))
// Login
letresult=tryawait web3Auth.login(W3ALoginParams(loginProvider:.GOOGLE))
// Logout
tryawait web3auth.logout()
🩹 Examples
Checkout the examples for your preferred blockchain and platform in our examples
🌐 Demo
Checkout the Web3Auth Demo to see how Web3Auth can be used in an application.
Have a look at our Web3Auth PnP iOS Quick Start to help you quickly integrate a basic instance of Web3Auth Plug and Play in your iOS app.
Further checkout the demo folder within this repository, which contains a sample app.
💬 Troubleshooting and Support
Have a look at our Community Portal to see if anyone has any questions or issues you might be having. Feel free to create new topics and we'll help you out as soon as possible.