Skip to content

bug: Authentication Issues in GitHub OAuth Flow and bcrypt Implementation #1823

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
Priyanshuthapliyal2005 opened this issue Apr 28, 2025 · 0 comments · May be fixed by #1824
Open

bug: Authentication Issues in GitHub OAuth Flow and bcrypt Implementation #1823

Priyanshuthapliyal2005 opened this issue Apr 28, 2025 · 0 comments · May be fixed by #1824
Labels
bug Something isn't working

Comments

@Priyanshuthapliyal2005
Copy link

Priyanshuthapliyal2005 commented Apr 28, 2025

Describe the bug
A clear and concise description of what the bug is.
GitHub OAuth authentication fails when attempting to link a GitHub account. Users encounter a "redirect_uri is not associated with this application" error on GitHub's authorization page, preventing account linking.

To Reproduce
Steps to reproduce the behavior:
Navigate to the payout methods page
Click on the "Link" button in the GitHub account section
Get redirected to GitHub OAuth authorization page
See "redirect_uri is not associated with this application" error

Expected behavior
A clear and concise description of what you expected to happen.
When clicking the "Link" button, users should be redirected to GitHub's authorization page, then back to the application after authorizing, with their GitHub account successfully linked to their profile.

Screenshots or GIFs
If applicable, add screenshots to help explain your problem.

Image
and

20250428-0040-30.4203910.mp4

Info (please complete the following information):
Browser: Chrome, Edge
Version: Latest

Additional context
Add any other context about the problem here.
The issue occurred due to improper URL encoding of the redirect URI and a mismatch between the callback URL in the code and what was configured in the GitHub OAuth app settings. The setTimeout implementation in the redirect flow was also causing issues with the proper loading state.

@Priyanshuthapliyal2005 Priyanshuthapliyal2005 added the bug Something isn't working label Apr 28, 2025
@Priyanshuthapliyal2005 Priyanshuthapliyal2005 linked a pull request Apr 28, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant