Skip to main content

Authentication

Embedded Wallets (formerly Web3Auth) offers a robust authentication system designed to bridge the gap between Web2 and Web3 identity, providing developers with powerful tools to implement secure, flexible, and user-friendly onboarding flows. By offering fine-grained control over login experiences and wallet integrations, Embedded Wallets helps enhance user conversion while enabling seamless access to blockchain-based functionality.

Using the Embedded Wallets SDKs, applications can authenticate users through a variety of mechanisms, supporting both traditional (Web2) and decentralized (Web3) identity paradigms.

note

The SDKs are now branded as MetaMask Embedded Wallet SDKs (formerly Web3Auth Plug and Play SDKs). Package names and APIs remain Web3Auth (for example, Web3Auth React SDK), and code snippets may reference web3auth identifiers.

Supported Authentication Methods

Embedded Wallets supports a wide range of authentication options, enabling developers to meet the needs of diverse user bases and platform requirements.

Native Email & SMS Login

Provides passwordless login via one-time passcodes (OTP)/ magic links sent to the user's email address or phone number. This method is widely accessible and especially useful for onboarding users unfamiliar with Web3 or crypto wallets.

External Wallets

Users can also authenticate using third-party wallets such as MetaMask and other WalletConnect supported wallets. Developers can select which wallets to display via the Embedded Wallets Dashboard, providing tailored options based on user preference or regional relevance.

OAuth and Social Login

Embedded Wallets supports a variety of social identity providers, allowing users to authenticate using accounts they already trust and use daily. Supported providers include:

Social login simplifies onboarding by reducing friction and improving usability—particularly in consumer-facing applications.

JWT-Based Authentication

Embedded Wallets allows integration with any existing JWT-based authentication system. This includes OpenID Connect (OIDC) and OAuth 2.0 compliant identity providers such as:

This is ideal for applications that already have a secure identity layer and want to enhance it with non-custodial wallet generation and key management.