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 across web2 and web3 accounts, including:
- Email, via password recovery
- Wallet: via Sign In With Ethereum (SIWE) standard
- Web2 social accounts: via OAuth2.0 Protocol (Google, Facebook, Twitter, Discord)
These methods can be configured as either login or link options for users. Once authenticated, Openfort creates a common player object that includes the user's Openfort DID 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#
Openfort Auth in Unity
Openfort Auth in browser