What are B3 Global Accounts?
B3 Global Accounts are a unified authentication system that provides users with a single identity across the entire B3 ecosystem. Users can authenticate once and access all B3 applications, games, and services seamlessly.Key Features
Social Login
Support for Google, Discord, and other social authentication providers.
Session Management
Secure session key authentication with customizable permissions.
Cross-Platform
Works across web, mobile, and desktop applications.
Developer Friendly
Simple React components and headless TypeScript services.
Architecture
The Global Accounts system consists of several key components:Authentication Flow
- Social Login: Users authenticate with their preferred social provider
- Account Creation: A B3 Global Account is created or linked
- Session Keys: Optional session keys for enhanced security
- Permissions: Granular permissions for different actions
React Components
B3Provider
: Context provider for Global AccountsSignInWithB3
: Complete authentication flowRequestPermissionsButton
: Permission managementAccountAssets
: Display user assets
Headless Services
- Authentication service for custom implementations
- Session management utilities
- Permission validation helpers