🔐 Dashboard Authentication UI: Graceful User Experience
This release introduces comprehensive authentication detection and a user-friendly authentication UI for the HTTP dashboard, resolving user confusion when accessing the dashboard without authentication.
✨ What's New
Dashboard Authentication UI (Issue #414, Issue #410, PR #416)
- 🔍 Authentication Detection: Automatically detects authentication state on dashboard load (HTTP 401/403 responses)
- 🎨 User-Friendly Modal: Authentication modal with clear instructions for API key and OAuth flows
- 🔑 API Key Authentication: Secure input field with autocomplete=off, session storage, and automatic page reload after auth
- 🤝 OAuth Flow: Prominent "Sign in with OAuth" button for team collaboration
- 🔒 Security Improvements: HTTPS warning for production deployments, credential cleanup on state changes
- 🌙 Dark Mode Compatible: Fully styled authentication UI with dark mode support
- 📊 State Management: Robust authentication state tracking across page loads
- ⚠️ Error Handling: Clear error messages for authentication failures with retry guidance
🎯 User Impact
Before: Users accessing the HTTP dashboard without authentication saw raw 403 errors with no guidance on how to authenticate.
After: Dashboard detects unauthenticated state and displays a friendly modal with clear instructions for API key or OAuth authentication.
Fixes:
- Issue #414: Dashboard authentication UX improvements
- Issue #410: User couldn't save memories (authentication confusion)
📦 Installation
pip install --upgrade mcp-memory-service🔄 Upgrade Notes
No breaking changes. This release is backward compatible with v10.4.x.
Authentication Configuration (if not already set):
# Option 1: API Key (recommended for single-user)
export MCP_API_KEY="your-secure-api-key"
# Option 2: Anonymous access (local development only)
export MCP_ALLOW_ANONYMOUS_ACCESS=true
# Option 3: OAuth (team collaboration)
export MCP_OAUTH_ENABLED=true📚 Documentation
🙏 Credits
Thanks to all users who reported authentication UX issues and provided feedback!
Full Changelog: v10.4.6...v10.5.0