Commit Graph

9 Commits

Author SHA1 Message Date
8775f8b1fe Refactor code for improved readability and consistency
- Updated CSRF middleware to enhance cookie value decoding.
- Reformatted OAuth proxy token store initialization for better clarity.
- Adjusted Challonge proxy router for consistent line breaks and readability.
- Enhanced OAuth router error handling and response formatting.
- Improved session router for better readability and consistency in fetching provider records.
- Refactored OAuth token store to improve key derivation logging.
- Cleaned up cookie options utility for better readability.
- Enhanced Challonge client credentials composable for consistent API calls.
- Streamlined OAuth composable for improved logging.
- Refactored main.js for better readability in session initialization.
- Improved Challonge v2.1 service error handling for better clarity.
- Cleaned up API client utility for improved readability.
- Enhanced ApiKeyManager.vue for better text formatting.
- Refactored ChallongeTest.vue for improved readability in composable usage.
2026-02-03 12:50:25 -05:00
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
616524d5ef 🔧 Refactor Discord OAuth redirect URI assignment for improved readability 2026-01-30 05:36:41 +00:00
e102373026 ⚙️ Add validation for Discord OAuth configuration variables 2026-01-30 05:36:36 +00:00
ee7f1d97f3 Add endpoint to fetch Discord user profile using access token 2026-01-30 05:34:01 +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
d62106abf5 🔑 Add OAuth token exchange endpoint with support for Discord and error handling 2026-01-29 21:30:09 +00:00
f132339abf 🎨 Reformat import statement for improved readability 2026-01-28 22:46:27 +00:00
6d44590dff 🔒 Add authentication route logic for user login and registration 2026-01-28 22:46:22 +00:00