Commit Graph

11 Commits

Author SHA1 Message Date
herel eca5eacd70 fix: Missing Authentication Checks 2026-06-29 16:37:39 +02:00
herel 5e17fd27d6 fix(security): Authentication Bypass via Broken JWT Validation in AuthHeaders.validate_oidc_token 2026-06-29 16:33:21 +02:00
herel a407a108ed fix: improve user authentication and account handling
Fixed issues with user display by fetching user info from userinfo endpoint

Improved error handling for JSON responses in schedule endpoint

Fixed account selection to use available accounts from config instead of default

Enhanced frontend to properly handle API responses and errors
2025-08-19 15:17:45 +02:00
herel d6277d7766 fix: improve authentication handling and error management 2025-08-19 15:04:53 +02:00
herel 5b1d741a16 feat: implement OpenID Connect authentication with Infomaniak 2025-08-19 11:16:07 +02:00
herel 66b93af6b1 feat: add account selection support in web UI
Add support for multiple MyIce accounts in the web interface:

- Create /accounts endpoint to fetch available accounts from config files

- Update index.html to dynamically show available accounts

- Modify /schedule and /game endpoints to accept account parameter

- Store selected account in localStorage for persistence
2025-08-18 22:10:24 +02:00
herel e7b0fdec00 feat: add support for multiple config sections in INI file\n\n- Add --config-section CLI option to all commands to allow switching between different credential sets\n- Modify get_login() function to accept a config_section parameter\n- Update all functions that use credentials to pass through the config_section parameter\n- Update webapi.py to handle the additional return value from get_login()\n- Document the new feature in README.md with examples\n- Fix type issues and formatting to pass pre-commit checks 2025-08-18 18:28:53 +02:00
herel 03d33f2e03 feat: add healthcheck 2025-03-13 11:29:30 +01:00
herel 28b34d8281 fix: webapi schedule uses mobile api endpoint 2025-03-12 11:46:20 +01:00
herel 251e2b1452 fix: favicon and some stuff 2025-03-12 11:15:45 +01:00
herel 4c5867c19f feat: add webapi, lower python version requirement and add a Dockerfile 2025-03-12 10:52:11 +01:00