Skip to content

Authentication

Privy is built to onboard every user onto your app, regardless of their digital literacy. Privy supports the login methods your users are comfortable using, enabling your application to meet them where they are. Your application can stand up a login flow out of the box in minutes or build your own custom flow using Privy SDKs. Once a user is authenticated, Privy will seamlessly create a wallet for them behind the scenes.

Your app can also use Privy to prompt users to link additional accounts at any point in their user journey, not just during login. This is key to Privy's progressive onboarding: improving conversion and UX by requiring users to complete onboarding steps only when necessary.

The fastest way to integrate Privy is with the Privy login modal. Your application can integrate this modal in just a few lines of code and easily toggle on login methods for your application in the Privy dashboard.

Example privy login flow
Sample SMS login flow with Privy

You can also design your own login UIs, and integrate with Privy’s authentication APIs to offer a login experience that feels seamless within your application.

SMS and Email

Privy enables users to login to your application with SMS or email. With Privy, your application can verify ownership of a user's email address or phone number to send them notifications, campaigns, and more to keep them activated

OAuth

Privy enables your application to support login with social OAuth providers. Users can sign in with familiar flows on Facebook, Google, Apple, Twitter, Github, Discord, LinkedIn, TikTok, Spotify, and Instagram. Login with OAuth is the onboarding flow your users are used to, integrated into your application in just a few lines of code.

Custom authentication

Privy allows your application to use a custom authentication provider, with support for providers like Auth0 and Firebase. Privy's embedded wallets are fully-compatible with any authentication provider that supports JWT-based, stateless authentication. If your application already uses an auth provider and you're looking to add embedded wallets to your app, Privy is easily integrable with your existing stack.

Passkeys

Privy enables your users to seamlessly log in with passkeys. Users can access their account simply and securely without needing to remember a password.

SIWE and SIWS

For users who already have wallets, Privy supports signing in with Ethereum (SIWE) or Solana (SIWS). With this flow, users who are already onchain can bring their existing wallet to your app, verify ownership of assets, and take onchain actions.

Telegram

Telegram is an end to end encrypted messaging platform with in-application experiences. Privy enables your application to easily integrate Login with Telegram in multiple ways. From a regular web environment, users can authenticate to your application with their Telegram account. Additionally, Privy enables seamless login within Telegram, so users can zero-click authenticate to your Telegram bot or mini-app.

Farcaster

Farcaster is a sufficiently decentralized social network whose core social graph is stored onchain. Privy enables your users to log in to your application using their Farcaster account. Your application can even request permissions from the user to become a signer for their Farcaster account, allowing your application to engage with the Farcaster social graph on their behalf.