secubox-openwrt/luci-app-auth-guardian
CyberMind-FR 0759c748dd fix: Add missing API functions to resolve module errors
Fixed JavaScript errors in multiple modules by adding missing API functions:

1. auth-guardian:
   - Added getSessions() alias for listSessions compatibility

2. netifyd-dashboard:
   - Added getAllData() aggregating status, stats, flows, applications

3. wireguard-dashboard:
   - Added getAllData() aggregating status, peers, interfaces, traffic

4. network-modes:
   - Added getAllData() aggregating status, mode, available_modes, interfaces

5. netdata-dashboard:
   - Fixed ACL permissions: changed ubus object from 'netdata' to 'luci.netdata-dashboard'
   - Added missing RPC methods to ACL (netdata_status, netdata_alarms, netdata_info)
   - Added write permissions for service control methods

Resolves:
- TypeError: api.getSessions is not a function (auth-guardian)
- TypeError: api.getAllData is not a function (netifyd, wireguard, network-modes)
- RPC error -32002: Access denied (netdata-dashboard)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 21:42:09 +01:00
..
.github/workflows fix: hope modules refresh 2025-12-23 18:53:18 +01:00
demo Initial commit: SecuBox v1.0.0-try2 2025-12-22 10:43:52 +01:00
htdocs/luci-static/resources fix: Add missing API functions to resolve module errors 2025-12-26 21:42:09 +01:00
root fix: reorganize all modules under SecuBox menu hierarchy 2025-12-25 14:37:41 +01:00
Makefile feat: apply Design System v0.3.0 to all 15 SecuBox modules 2025-12-26 20:15:33 +01:00
README.md Initial commit: SecuBox v1.0.0-try2 2025-12-22 10:43:52 +01:00

Auth Guardian for OpenWrt

Comprehensive authentication and session management system.

Features

🎨 Captive Portal

  • Customizable splash pages
  • Logo and branding support
  • Terms of service acceptance

🔑 OAuth Integration

  • Google Sign-In
  • GitHub Authentication
  • Facebook Login
  • Twitter/X Login

🎟️ Voucher System

  • Generate access codes
  • Time-limited validity
  • Bandwidth restrictions

🍪 Session Management

  • Secure cookies (HttpOnly, SameSite)
  • Session timeout control
  • Concurrent session limits

⏭️ Bypass Rules

  • MAC whitelist
  • IP whitelist
  • Domain exceptions

Installation

opkg update
opkg install luci-app-auth-guardian

License

MIT License - CyberMind Security