Conversation
- Add optional password authentication via MAXX_ADMIN_PASSWORD env var - Implement JWT token generation and validation using golang-jwt/jwt/v5 - Add login page and auth context for frontend - Token valid for 7 days, stored in localStorage Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
PR Type
enhancement, documentation
Description
Implement JWT authentication for admin API
Add login page and auth context for frontend
Create auth middleware and handlers
Update README with authentication instructions
Diagram Walkthrough
File Walkthrough
7 files
Add authentication middleware and routesImplement JWT authentication logicCreate auth handler for login and statusIntegrate AuthProvider and LoginPageManage authentication state and contextAdd auth API methods to transportCreate login page for admin access1 files
Update documentation for admin authentication4 files