Skip to content

Authentication Overview

Openfort React supports a variety of authentication flows to onboard users securely.

  • Email/password login
  • Social (OAuth) login
  • Guest (anonymous) login
  • External wallet (MetaMask, WalletConnect, etc.)

Each method is built for seamless integration with your app, letting you manage user sessions, recovery, and wallet linking with minimal code.

How to authenticate your users

There are two ways of authenticating your users: With openfort UI or with openfort hooks.

Using Openfort UI

If you are using openfort UI, set up the providers in the UI here

Using Openfort hooks

To authenticate your users manually there are this hooks to authenticate your users:

Hook NamePurpose & Usage
useEmailAuthEmail/password authentication flows (sign up, login, reset, link)
useOAuthOAuth authentication and linking (Google, Facebook, Twitter, etc)
useGuestAuthGuest user authentication for instant onboarding
useEmailAuthWallet connection and SIWE authentication flows
useAuthCallbackHandles callback logic automatically after OAuth or email verification flows