Skip to content

Fix GitHub OAuth redirect flow and URL encoding #1824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Priyanshuthapliyal2005
Copy link

@Priyanshuthapliyal2005 Priyanshuthapliyal2005 commented Apr 28, 2025

PR Fixes:

Fixed GitHub OAuth authentication by properly encoding redirect URI with encodeURIComponent()
Improved error handling and added detailed logging for better debugging
Enhanced GitHub link button component to prevent multiple clicks and improve UX
Removed problematic setTimeout implementation causing redirect issues
Fixed bcrypt implementation issues (removed mock-bcrypt.js)
Made redirect URI handling more consistent and reliable across environments

Resolves #1823

Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there is no similar/duplicate pull request regarding same issue
afterfix.mp4

@Priyanshuthapliyal2005
Copy link
Author

@hkirat sir can you review this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Authentication Issues in GitHub OAuth Flow and bcrypt Implementation
1 participant