Your friendly AI Sloth assistant for secure Auth0 authentication.
A browser extension (Chrome & Firefox) that provides a Token Vault for managing OAuth tokens with Auth0 integration, featuring an AI Agent configuration system with chat functionality.
SlothAuth is an "Auth0 for AI Agents" solution—a browser extension that combines secure token management with configurable AI agents. The extension features a charming sloth mascot that greets users with delightful particle-based canvas animations.
- 🔐 Token Vault - Securely store and manage OAuth tokens from multiple services (GitHub, Google, Slack, Notion, Linear, Microsoft)
- 🤖 AI Agents - Configure and chat with AI agents supporting multiple providers:
- Anthropic (Claude)
- OpenAI (GPT-4)
- Google Gemini
- OpenRouter
- 💬 Chat Interface - Interactive chat with your configured AI agents
- 🎨 Animated Sloth - Delightful particle-based sloth animations (lightweight alternative to 3D)
- 📊 Activity Tracking - Monitor authentication events and token usage
| Technology | Purpose |
|---|---|
| TypeScript | Type-safe development |
| React 19 | UI framework |
| Vite 8 | Build tool |
| Canvas API | Particle animations |
| Auth0 React SDK | Authentication |
# Clone the repository
git clone https://github.com/steoward/SlothAuth.git
cd SlothAuth
# Install dependencies
npm install
# Start development server
npm run dev# Build the extension
npm run build
# The output will be in the /dist folder- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the
distfolder
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on..."
- Select any file in the
distfolder
Or package as .zip and submit to Firefox Add-ons
SlothAuth/
├── public/
│ ├── manifest.json # Extension manifest
│ ├── background.js # Service worker
│ └── content.js # Content scripts
├── src/
│ ├── components/
│ │ ├── SlothAssistant.tsx # Main component
│ │ ├── SlothParticles.tsx # Canvas animations
│ │ ├── AgentTab.tsx # AI Agent configuration
│ │ ├── VaultTab.tsx # Token vault
│ │ └── ActivityTab.tsx # Activity logs
│ ├── App.tsx
│ ├── App.css
│ └── types.ts
├── package.json
└── vite.config.ts
Originally attempted to include a 3D sloth model using Three.js and React Three Fiber. The model added 89MB to the bundle—unacceptable for a browser extension. Pivoted to a lightweight canvas-based particle system that draws animated sloth faces (~400KB total).
Firefox Manifest V3 has specific requirements:
- Must use
background.scriptsinstead ofservice_worker - Requires explicit addon ID in UUID format
- Configure Auth0 - Set up your Auth0 application
- Add Tokens - Connect services in the Vault tab
- Configure AI Agents - Add your API keys and select models in the Agent tab
- Chat - Click "Chat" on any agent to start a conversation
MIT
- v1.0.0 - Initial release with Token Vault, AI Agents, and chat functionality
Built with ❤️ and a lot of coffee