Skip to main content

Web Login Methods

NEAR offers multiple options to allow users to login using NEAR accounts. Below are the most popular methods to integrate web login into your web app or website, each tailored to different use cases and user experiences.

Once the user is logged in, they will be able to use their accounts to interact with the NEAR blockchain, making call to smart contracts, transfer tokens, and more.

Summary of Available Methods
MethodWallet LoginSocial LoginKey OwnersDescription
Wallet SelectorUserPopup modal to select from existing NEAR wallets
NEAR ConnectorUserPopup modal to select from existing NEAR wallets
Privy Social LoginDeveloper
Web3AuthUserLogin using email or social accounts

Wallet Selector

The wallet selector is a javascript library that allows you to easily add a modal popup to your web, so users can login using one of the existing NEAR wallets.

It includes support for the most popular wallets, and react hooks to easily integrate it into your app.

Preview

tip

You can learn how to integrate the wallet selector into your app in our Wallet Selector Tutorial guide.


NEAR Connector

Considered a successor to the wallet selector, the NEAR Connector is a zero-dependency lightweight library that allows users to connect to your dApp using their preferred wallet.

Preview

tip

Check our NEAR Connector Integration Example to learn how to integrate the NEAR Connector into your web app


Privy Social Login

Privy is a third-party service that allows users to login using their email or social accounts (Google, Facebook, Twitter, etc). Upon login, a NEAR wallet is created for the user, which they can fund and use to interact with your dApp.

Preview

tip

Check our Privy Integration Example to learn how to integrate Privy into your web app


Web3Auth

Web3Auth is a third-party service that allows users to login using their email or social accounts (Google, Facebook, Twitter, etc). Upon login, a NEAR wallet is created for the user, which they can fund and use to interact with your dApp.

Preview

tip

Check our Web3Auth Integration Example to learn how to integrate Privy into your web app

Ethereum Wallets

The ethereum wallet login offered by Web3Auth will not allow you to interact with NEAR contracts