Authentication
At a high-level, onboarding users onchain breaks down into three core questions: who is taking the onchain action (the user), through what means are they able to control this action (the signer) and where is the affected state (the account).
With Openfort, your app can authenticate users, including:- Email, via password recovery
- Wallet: via Sign In With Ethereum (SIWE) standard
- Web2 social accounts: via OAuth2.0 Protocol (Google, Facebook, Twitter, Discord & more.)
These methods can be configured as either login or link options for users. Once authenticated, Openfort creates a common user object that includes the user's ID (playerID
) and all linked accounts, treating all users equally regardless of their authentication method.
The Openfort Auth can be plugged into any front-end/user interface you already have.
Guides
Authenticating with email
Learn how to authenticate users with email.
Non-custodial signer
Create a non-custodial signer for your users.
Session keys
Create session keys with smart wallets
Templates
Auth with NextJS
Openfort comlete sample solution for NextJS.
Auth with Web3Auth
Integration with an external signer like Web3Auth.
Auth with Firebase
Integration with thirdparty auth proividers like Firebase.