Hosted authentication and transaction authorization service for the SocketFi ecosystem.
auth.socket.fi powers:
- Passkey-based authentication
- Hosted sign in / sign up flows
- Secure transaction confirmation
- Wallet authorization flows
- OAuth-style redirects for apps integrating SocketFi
Built with React, Vite, TypeScript, and WebAuthn.
- Passwordless authentication with WebAuthn
- Passkey-secured transaction approvals
- Hosted authentication UI
- OAuth-style redirect flow
- Popup and redirect support
- Mobile-optimized authorization screens
- Secure temporary session handling
- Transaction review and confirmation UI
/oauth/signin
/oauth/signup/transaction?txSession=...Create a .env file:
VITE_SOCKETFI_SERVER=http://localhost:3020Example production configuration:
VITE_SOCKETFI_SERVER=https://api.socket.fiInstall dependencies:
bun installStart development server:
bun run devbun run buildPreview production build:
bun run preview- React
- TypeScript
- Vite
- React Router
- WebAuthn
- @simplewebauthn/browser
App
→ api.socket.fi
→ temp access token issued
→ redirect to auth.socket.fi
→ passkey authentication
→ verification
→ redirect back to appApp
→ create tx session
→ redirect to auth.socket.fi/transaction
→ user reviews request
→ passkey confirmation
→ signed transaction returned- WebAuthn / passkey authentication
- Temporary access sessions
- Secure redirect validation
- Cookie-based session support
- User verification required
- Transaction confirmation before signing
MIT