Skip to content
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

"Sign in with Browser" Redirects to Broken Link During Push; Unable to See Repository or Contributions with "Sign in with Code" #90276

Open
Mahelaka29 opened this issue Oct 20, 2024 · 2 comments

Comments

@Mahelaka29
Copy link

🐞 Problem

  • When pushing changes to the repository via the terminal, I encounter a GitHub login popup. After selecting "Sign in with your browser," I'm redirected to a broken URL. If I choose the "Sign in with code" option instead, the authentication works, but I don't see my repository or any changes I contributed.

🎯 Goal

  • The goal is to be able to push my contributions to the repository without encountering broken URLs during the GitHub authentication process. This will help ensure a smooth contribution process for users and prevent issues with pushing their changes.

💡 Possible solutions

  • Check the redirect URL for the browser-based authentication method and ensure it works properly.
  • Improve the fallback method using "Sign in with code" to ensure repositories and contributions are properly displayed after authentication.

📋 Steps to solve the problem

  • Investigate the broken URL during the "Sign in with your browser" process.
  • Ensure that "Sign in with code" displays the repositories and contributions correctly.
  • Update any documentation if required to guide users through this process more smoothly.
@chenyuchenlijingshuo
Copy link

I understand the frustration you're experiencing with the broken URL when trying to sign in with your browser and the limitations with the "Sign in with code" option.
For the problem of the broken URL during "Sign in with your browser," it's essential to investigate the redirect URL as you've suggested. This could involve checking the configuration settings related to authentication and redirects in both the GitHub application and the terminal client you're using. It's possible that there might be a misconfiguration or a problem with the URL generation process.
Regarding the "Sign in with code" option not showing the repository or contributions, this could be due to a synchronization issue or a problem with the authentication flow not properly updating the user interface to display the relevant information. One possible solution could be to check if there are any caching issues that might be preventing the updated information from being displayed. Clearing caches or refreshing the page might help in some cases.
To solve this problem, here are the steps I would recommend:

  1. Investigate the broken URL:
    Check the logs or error messages related to the authentication process to get more details about the specific URL that is failing.
    Contact GitHub support if necessary to see if they can provide any insights into the issue.
    Review the documentation and settings for the terminal client and GitHub to ensure that the authentication settings are correct.
  2. Ensure "Sign in with code" works properly:
    Test the "Sign in with code" option multiple times to see if the problem is consistent or intermittent.
    Check if there are any known issues or workarounds related to this option on GitHub's support forums or community discussions.
    If possible, try using a different terminal client or environment to see if the problem persists.
  3. Update documentation:
    If any changes or workarounds are found, update the relevant documentation to help other users who might encounter the same issue.
    Provide clear instructions on how to troubleshoot and resolve authentication issues.
    I hope these suggestions help in resolving this issue. If you need further assistance or have any additional information to share, please don't hesitate to let me know.

@Esh07
Copy link
Contributor

Esh07 commented Nov 2, 2024

Thanks for bringing this issue.

It looks like some important steps might have been missed while following the instructions from the README. Please review them again carefully to ensure nothing was overlooked.

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

No branches or pull requests

4 participants