upskill-event-manager/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events
bengizmo cb45406a9e fix: Complete OAuth callback 404 resolution with parse_request implementation
The OAuth callback URL was returning 404 errors due to WordPress not recognizing
the custom /oauth/callback route. This commit implements a comprehensive fix using
multiple approaches to ensure OAuth callbacks are properly handled.

Changes:
- Add parse_request hook to directly intercept OAuth callback URLs
- Implement regex pattern matching for /oauth/callback requests
- Add fallback query var registration methods
- Include comprehensive error logging for debugging
- Maintain backward compatibility with existing rewrite rules

The parse_request implementation successfully bypasses WordPress's standard
rewrite rule processing, ensuring OAuth callbacks are caught and processed
before a 404 can occur. Verified working with successful token exchange.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 11:27:30 -03:00
..
assets refactor: Replace Zoho .env configuration with WordPress admin interface 2025-06-14 23:57:20 -03:00
bin feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
docs feat: Implement certificate generation system 2025-05-20 15:17:55 -03:00
includes fix: Complete OAuth callback 404 resolution with parse_request implementation 2025-06-16 11:27:30 -03:00
templates Fix Google OAuth redirect URI mismatch error 2025-06-14 13:53:21 -03:00
tests feat: Add Email Attendees functionality (Phase 2) 2025-05-20 10:33:03 -03:00
tmp-fixes docs: Update testing procedures in CLAUDE.md with comprehensive E2E test workflow 2025-05-21 20:12:22 -03:00
.gitignore feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
bootstrap-staging.php Clean up repository: Remove WordPress core files from tracking 2025-05-18 18:43:41 -03:00
clear-test-certificates.php feat: Update help system with clearer content and recent improvements 2025-05-24 16:36:28 -03:00
composer.json feat: Implement certificate generation system 2025-05-20 15:17:55 -03:00
composer.lock test: Add certificate generation tests and deployment tools 2025-05-20 15:32:29 -03:00
create-trainer-profile-page.php feat: Add Trainer Profile page and functionality 2025-05-20 07:43:39 -03:00
hvac-community-events-fixed.php docs: Update testing procedures in CLAUDE.md with comprehensive E2E test workflow 2025-05-21 20:12:22 -03:00
hvac-community-events.php fix: Resolve OAuth callback 404 error and add debugging features 2025-06-15 07:09:17 -03:00
hvac-community-events.php.bak docs: Update testing procedures in CLAUDE.md with comprehensive E2E test workflow 2025-05-21 20:12:22 -03:00
hvac-fixed-activation.php fix: Resolve 5 critical bugs in certificate management and navigation system 2025-05-23 18:53:03 -03:00
hvac-staging-plugin.php docs: Update testing procedures in CLAUDE.md with comprehensive E2E test workflow 2025-05-21 20:12:22 -03:00
phpunit.xml feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
phpunit.xml.dist feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
refactoring-plan.md feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
test-certificate-url.php feat: Add direct certificate URL handler to fix 404 errors 2025-05-24 09:07:50 -03:00
test-zoho-ajax.php feat: Enhanced test data creation and login system improvements 2025-05-22 15:54:15 -03:00
wp-tests-config-staging.php update: Change staging domain to upskill-staging.measurequick.com 2025-05-21 16:42:10 -03:00
wp-tests-config.php Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00
wp-tests-config.php.bak.20250424054541 Clean up repository: Remove WordPress core files from tracking 2025-05-18 18:43:41 -03:00