Overview
Add Farcaster authentication support without removing Privy, allowing both authentication methods to coexist for different environments.
Tasks
Implementation Details
interface AuthState {
method: 'privy' | 'farcaster';
user: FarcasterUser | PrivyUser | null;
isAuthenticated: boolean;
}
interface FarcasterUser {
fid: number;
username: string;
displayName: string;
pfpUrl: string;
bio: string;
}
Acceptance Criteria
- Farcaster authentication works in Mini App environment
- Privy authentication continues to work in regular browser
- AuthContext properly handles both authentication methods
- User data is consistent regardless of auth method
- Authentication state is properly managed
- No breaking changes to existing auth-dependent code
Priority
High - Core authentication functionality
Dependencies
Testing
- Test Farcaster auth in Mini App environment
- Test Privy auth in regular browser
- Test auth state persistence
- Test user data retrieval for both methods
Overview
Add Farcaster authentication support without removing Privy, allowing both authentication methods to coexist for different environments.
Tasks
Implementation Details
Acceptance Criteria
Priority
High - Core authentication functionality
Dependencies
Testing