Authentication
Alternate Futures supports multiple authentication methods for maximum flexibility.
Authentication Methods
Email Magic Link
Passwordless authentication via email:
- Enter your email address
- Check your inbox for the magic link
- Click the link to sign in
SMS Magic Link
Passwordless authentication via SMS:
- Enter your phone number
- Receive a text message with the link
- Click the link to sign in
Web3 Wallets
Sign in with your cryptocurrency wallet:
- MetaMask - Ethereum wallet
- Phantom - Solana wallet
- WalletConnect - Universal wallet connection
- Coinbase Wallet
- Rainbow Wallet
Uses "Sign in with Ethereum" (SIWE) standard for secure authentication.
Social OAuth
Sign in with your existing accounts:
- Apple
- Discord
- GitHub
Account Linking
Coming Soon
Account linking via the web interface is currently in development.
You can link multiple authentication methods to a single account:
- Sign in with your primary method
- Go to Settings → Connected Accounts
- Click "Link" next to any authentication method
- Complete the linking flow
This allows you to sign in using any linked method.
API Authentication
For programmatic access (CLI/SDK), use API keys:
Creating an API Key
Coming Soon
API key management via the web interface is currently in development. In the meantime, contact support to have API keys generated for your account.
- Go to API Keys
- Click "Create New Key"
- Set permissions and expiration
- Copy the key (shown only once!)
Using API Keys
CLI:
bash
export AF_API_KEY="your-api-key"
af sites listSDK:
typescript
const af = new AlternateFuturesSdk({
apiKey: process.env.AF_API_KEY
});Security Best Practices
- Never commit API keys to version control
- Use environment variables for keys
- Set appropriate permissions on API keys
- Rotate keys regularly
- Use short expiration times for temporary access
- Enable 2FA when available
Next Steps
- API Keys Guide - Manage API keys and permissions
- Dashboard Overview - Navigate the web interface