Commit Graph

22 Commits

Author SHA1 Message Date
700c1cbbbe Refactor authentication handling and improve API client security
- Updated OAuth endpoints for Challonge and Discord in platforms configuration.
- Implemented session and CSRF cookie initialization in main application entry.
- Enhanced Challonge API client to avoid sending sensitive API keys from the browser.
- Modified tournament querying to handle new state definitions and improved error handling.
- Updated UI components to reflect server-side storage of authentication tokens.
- Improved user experience in API Key Manager and Authentication Hub with clearer messaging.
- Refactored client credentials management to support asynchronous operations.
- Adjusted API client tests to validate new request configurations.
- Updated Vite configuration to support session and CSRF handling through proxies.
2026-02-03 12:50:11 -05:00
ae7c1e449b 🔧 Refactor auth route setup for improved readability 2026-01-30 05:34:23 +00:00
8bcc9ca701 🔒 Add authentication route with secret and admin password configuration 2026-01-30 05:34:18 +00:00
8c45a748ef 🔒 Add authentication router integration to OAuth proxy 2026-01-30 05:34:13 +00:00
8bb2cf05c0 🔒 Improve Discord OAuth configuration handling by formatting and ensuring environment variable checks 2026-01-30 05:26:39 +00:00
1f73b9744a 🔧 Update Discord OAuth to prioritize DISCORD_REDIRECT_URI over VITE_DISCORD_REDIRECT_URI and adjust error messages accordingly 2026-01-30 05:26:34 +00:00
e886fd62d1 Improve logging format for Discord user access and error handling 2026-01-30 05:13:40 +00:00
2ff4160944 🔒 Add Discord user authentication and admin permissions check for developer tools access 2026-01-30 05:13:35 +00:00
9fdfbb22d8 🔒 Improve SSH connection handling, enhance file transfer reliability, and update OAuth error handling and tests 2026-01-30 04:53:18 +00:00
ab595394be 🔧 Improve readability by reformatting error messages and logging statements in OAuth token exchange logic 2026-01-29 21:31:01 +00:00
2b34c0ccf5 Add support for Discord OAuth token exchange alongside existing Challonge integration 2026-01-29 21:30:47 +00:00
819d7e0420 🔧 Update API route to remove /api/ prefix due to nginx configuration 2026-01-29 14:24:15 +00:00
2f0f0e840f 🎨 Improve code formatting and spacing for readability in OAuth proxy server 2026-01-29 13:20:05 +00:00
c82e9ea5ec 🔒 Improve OAuth proxy with enhanced logging, configuration handling, health check middleware, and graceful shutdown support 2026-01-29 13:20:00 +00:00
05371a35f5 ⚙️ Improve OAuth token handling with enhanced logging and configuration usage 2026-01-29 13:19:46 +00:00
46808cf279 🎨 Reformat import statement for better readability 2026-01-29 13:19:41 +00:00
16c88d5fb7 🛠️ Refactor OAuth proxy server to improve configuration validation, logging, and middleware setup 2026-01-29 13:19:36 +00:00
0cc01aa476 📝 Format error messages for Challonge OAuth configuration consistently 2026-01-29 04:35:19 +00:00
8650920c7c 🔒 Add validation for Challonge OAuth configuration in token and refresh endpoints 2026-01-29 04:35:14 +00:00
4769193ae4 ⚠️ Update OAuth proxy to warn instead of exit when Challonge credentials are missing 2026-01-29 04:35:03 +00:00
f563e27224 🔗 Add gamemaster API route to OAuth proxy server 2026-01-28 18:59:30 +00:00
a24f766e37 🎨 Improve code readability by reformatting and updating function definitions and comments 2026-01-28 18:18:55 +00:00