ITithub.directory
Directory
Magic

Magic

API

Magic is a developer SDK for adding passwordless authentication with email magic links, OAuth social logins, and Web3 wa

magic.link

Last updated: April 2026

Magic is a developer SDK for adding passwordless authentication with email magic links, OAuth social logins, and Web3 wallet authentication to any app.

4views

About

Magic is a developer-focused authentication platform that enables building secure, passwordless sign-in flows using magic links, OAuth social logins, and Web3 wallet connections. With SDKs for JavaScript, React, React Native, iOS, and Android, Magic provides a simple way to add modern authentication without managing passwords or complex cryptographic infrastructure.

The core Magic Link flow provides a completely passwordless authentication experience. When a user wants to sign in, they enter their email address and receive a magic link. Clicking the link in their email authenticates them securely without ever creating or submitting a password. This eliminates the security risks associated with passwords (reuse, weak choices, phishing) and the UX friction of password reset flows.

Magic's authentication is built on a Delegated Key Management System (DKMS) that uses hardware security modules and a distributed key infrastructure to generate and manage cryptographic keys on behalf of users. This approach provides Web3-grade security (each user has an on-chain-compatible key pair) without requiring users to manage cryptographic keys themselves.

The OAuth social login integrations support Google, Apple, GitHub, Facebook, Twitter, Discord, and other providers, enabling users to authenticate through their preferred social account. Magic normalizes the user identity across all authentication methods, providing a consistent user object regardless of which provider was used.

Web3 wallet connection in Magic enables users to authenticate using MetaMask, WalletConnect, Coinbase Wallet, and other Ethereum-compatible wallets. This is particularly valuable for decentralized applications (dApps) and Web3-enabled platforms that want to bridge traditional Web2 authentication with blockchain wallet connectivity.

SMS OTP, TOTP (authenticator apps), and WebAuthn (passkeys) authentication methods are available as additional options for applications that need flexibility beyond email magic links.

The Magic SDK provides straightforward integration for all major frameworks and platforms. The SDK handles token generation, key management, and session management, returning a short-lived DID token (a decentralized identifier token) that applications exchange with their backend for a standard session or JWT.

Magic is particularly popular with Web3 startups and NFT platforms that need to support both Web2 and Web3 authentication patterns in a single SDK.

Positioning

Magic (formerly Magic Labs) provides a passwordless authentication SDK that replaces traditional passwords with email magic links, WebAuthn/passkeys, and social logins. Developers integrate Magic with a few lines of JavaScript and get a complete auth system with wallet-based key management under the hood — users authenticate without ever creating or remembering a password.

What makes Magic distinctive is its Delegated Key Management System (DKMS), which generates a unique cryptographic key pair for each user. This architecture enables not just authentication but also blockchain wallet functionality, making Magic the bridge between traditional web authentication and Web3 identity. The same SDK handles both login and crypto wallet creation transparently.

What You Get

  • Magic Links
    One-click email-based authentication where users click a link to log in — no passwords to create, remember, or reset.
  • WebAuthn & Passkeys
    Support for biometric authentication via Face ID, Touch ID, and hardware security keys using the WebAuthn standard.
  • Social Logins
    Pre-built integrations for Google, Apple, Facebook, Twitter, Discord, and other OAuth providers in a unified SDK.
  • Embedded Wallets
    Automatic blockchain wallet creation for each user, enabling NFT, token, and smart contract interactions without MetaMask or wallet extensions.
  • Customizable UI
    Fully branded login widgets or headless mode for complete control over the authentication interface.

Core Areas

Passwordless Authentication

Replace passwords with magic links, passkeys, and social logins for a frictionless user experience that improves security.

Web3 Identity

Bridge traditional authentication and blockchain with embedded wallets that let users interact with decentralized apps without crypto knowledge.

Developer Experience

Integrate complete auth with a few lines of code across React, Next.js, Vue, React Native, iOS, Android, and more.

Why It Matters

Passwords are the weakest link in application security and the biggest source of user friction — password resets account for a significant portion of support tickets and abandoned sign-ups. Magic eliminates passwords entirely while providing a security model based on public-key cryptography rather than shared secrets stored in databases.

For companies building at the intersection of Web2 and Web3, Magic's embedded wallet capability means users don't need to understand private keys or install browser extensions. Authentication and wallet creation happen in a single flow, removing the steepest onboarding barrier in the crypto ecosystem.

Reviews

No reviews yet.

Log in to write a review