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

Extension asks to login every time I open vscode #591

Closed
tairosonloa opened this issue Oct 19, 2018 · 11 comments
Closed

Extension asks to login every time I open vscode #591

tairosonloa opened this issue Oct 19, 2018 · 11 comments
Labels
authentication bug Issue identified by VS Code Team member as probable bug

Comments

@tairosonloa
Copy link

tairosonloa commented Oct 19, 2018

Every time I open vscode, a pop up appears on the bottom right corner with the message: "In order to use the Pull Requests functionality, you need to sign in to github.com" and a button "Sig in".

captura de pantalla de 2018-10-19 09-37-58

Of course, that happened the first time I installed the extension, and I clicked the button to authorize the extension to access my github account. I checked it is authorized with full permissions. However, when I authorized the extension from my web browser (tried firefox and chromium), the web page turned white and nothing happened, so maybe the auth process wasn't completed successfully.

Now, every time I open vscode the same pop up appears. Clicking on "Sign in" button the request authorization web page opens on my browser, but clicking on continue does nothing (I suppose because it is already authorized).

I'm able to login on github from vscode by clicking on the options "Sign in to github.com" on the bottom left corner.

captura de pantalla de 2018-10-19 09-36-13

Edit: I have 2FA on my github.com since always. I don't know if that matters.

  • Extension version: 0.2.1
  • VSCode Version: 1.28.2
  • OS: GNU/Linux (ArchLinux with kernel 4.14.76-1-lts)

Steps to Reproduce:

  1. Install the extension and sign in github (authorize extension)
  2. Close vscode
  3. Open vscode
@tairosonloa tairosonloa changed the title Extension ask to login every time I open vscode Extension asks to login every time I open vscode Oct 20, 2018
@rebornix rebornix added bug Issue identified by VS Code Team member as probable bug authentication labels Oct 22, 2018
@johnpapa
Copy link

THis happens for me too. I open VS Code Insiders, it prompts me to authorize github, I follow the steps (in the browser), then it's fine. If I reload VS Code or close and re-open, i have to go through it again.

@lehnerchristian
Copy link

I experienced the same problem, too. Today I gave it a try again and now it works for me 👍

@kitfit-dave
Copy link

Do you have a network filter active?

I use LittleSnitch and have seen the above issue. I found that the rules for VSC, though they looked fine, seemed to be blocking the response from github, somehow... (they seemed like they were set up to allow connection until quit, so logging in once would work, then the next restart of VSC it would fail and ask again.) Anyway, I found that removing all the rules and regenerating them has worked. You could try disabling the filter to begin with and see if that is the problem (that's what I started with)

@logan-han
Copy link

Having the same issue here.
Pasting the config githubPullRequests.hosts into config.json manually will result the plugin auto-remove the config item every time it starts up.
It also doesn't leave anything useful in the debug log.

@pnmcosta
Copy link

pnmcosta commented Jun 7, 2019

Yup, same here, with Ubuntu 19.04, latest vscode 1.35.0 and extension 0.8.0.

I'm actually using the ssh-agent to authenticate with github, see instructions here and was hoping the extension would use it too.

@RMacfarlane
Copy link
Contributor

I'm no longer able to reproduce this in the latest version of the extension. If you see this problem again, please reopen the issue. Thank you!

@PatakiViktor
Copy link

Now I seem to have the problem again :(

@patrickhlauke
Copy link

patrickhlauke commented May 27, 2021

Same. this also happens when switching between different github projects - every time requiring a roundtrip to the github auth page

edit: ah, fresher issue on this #2751

@mxcl
Copy link

mxcl commented Dec 13, 2021

Uninstalled this nonsense because of this. This is in the same category of irritations as websites that block content begging you to sign up to their mailing list when you visit them.

Learn to use non intrusive popups.

@nsde
Copy link

nsde commented Sep 8, 2022

I'm having the same issue. Linux user here.

@hatamiarash7
Copy link

I'm having the same issue. Ubuntu 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authentication bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests