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
To authenticate your users, there are this hooks available:
Hook Name | Purpose & Usage |
---|---|
useEmailAuth | Email/password authentication flows (sign up, login, reset, link) |
useOAuth | OAuth authentication and linking (Google, Facebook, Twitter, etc) |
useGuestAuth | Guest user authentication for instant onboarding |
useEmailAuth | Wallet connection and SIWE authentication flows |