Auth React is a lightweight authentication provider for Futureverse Auth, an agnostic JavaScript solution that supplies OAuth2 and Open ID Connect Authentication for Auth as part of the Futureverse Platform.

Auth React supplies providers and hooks to developers building apps, games, and digital experiences that enable quick configuration and access to the range of login options and wallets to meet Web2 and Web3 users’ needs.

Installation

To install Auth React NPM package, you can run one of the following commands:

npm install @futureverse/auth-react @futureverse/auth-ui --save
npm install wagmi viem@2.x @tanstack/react-query --save

Prerequisites

Pass React requires an installation of a few peer dependencies:

  • Auth UI - a React theme UI provider for Pass React.
  • Wagmi - React Hooks for Web3
  • Viem - TypeScript Interface for Web3
  • TanStack - Hooks for fetching, caching and updating asynchronous data in React.