Fix OAuth redirect_uri truncation and bot API syntax errors - #114
Merged
github-actions[bot] merged 1 commit intoOct 8, 2025
Merged
Conversation
- Fix OAuth redirect_uri parameter using URLSearchParams for proper encoding - Remove duplicate try-catch blocks in bot API that caused syntax errors - Add debugging logs for OAuth URL construction - Resolves 'redirect_uri is not associated with this application' error - Fixes 500 Internal Server Error in content submission bot API Issues fixed: 1. OAuth redirect_uri was being truncated due to improper URL construction 2. Bot API had syntax errors with duplicate catch blocks 3. Content submission was failing with 'A server e... is not valid JSON' error
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
/approve |
Contributor
|
🚀 Admin-Approved and Auto-Merged! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Fix Critical OAuth and Bot API Issues
Problem
The previous PR #112 introduced two critical issues that broke the main branch:
Root Causes
Solution
Technical Changes
Files Changed
github-auth.js- Fixed OAuth URL constructionapi/github/create-content-pr.js- Fixed syntax errorsImpact
Testing
Branch naming: Follows convention with
fix/prefix