The Wayback Machine - https://web.archive.org/web/20201215060022/https://github.com/github/VisualStudio/issues/2530
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

Repeated authentication challenge while sync'ing #2530

Open
HerrimanCoder opened this issue Jul 8, 2020 · 4 comments
Open

Repeated authentication challenge while sync'ing #2530

HerrimanCoder opened this issue Jul 8, 2020 · 4 comments

Comments

@HerrimanCoder
Copy link

@HerrimanCoder HerrimanCoder commented Jul 8, 2020

Regarding GitHub Extension for Visual Studio (2.11.104.25275), running inside Visual Studio 2019 (16.5.4).

This problem started about 1-2 weeks ago in my GitHub Extension for Visual Studio 2019; it never happened before that and I'm not sure what might have caused it. Each time I do a sync with GitHub Extension for Visual Studio 2019, I am prompted by the Pick An Account popup screen not once but TWICE. But it's not a full credential challenge-- it brings up the authentication screen and merely requires me to click on my account email address. So I click that, sync continues, but before it finishes, it pops up the same authentication screen AGAIN - exactly same as before, and I have to click on my account email again. Identical/duplicate process both times. Makes no sense. If I sync again 5 seconds later - same exact thing: I get challenged twice by the Pick An Account popup window and I have to click my account twice. Why isn't this caching/remembering my credentials and reusing it like it used to??

Please see screenshots and you'll see exactly what I'm seeing.

I have tried restarting VS2019, rebooting my PC (a few times), re-logging into Azure Devops via the github extension in VS2019 - nothing solves the problem.

I can interact with the web client without any problems at all.

Any ideas?

signin

sync

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented Jul 9, 2020

Hi @HerrimanCoder,

Please see screenshots and you'll see exactly what I'm seeing.

This UI is actually built-in Visual Studio functionality, not the GitHub extension. It is possible that there might be some interaction between the two though.

Could you click Manage Connections (the green plug icon on your screenshot) and then use the drop-down menu to Connect to GitHub.

On the next dialog, click Sign in with your browser.

image

Once you have authenticated, could you let me know if this behavior continues?

Thanks,
Jamie.

@HerrimanCoder
Copy link
Author

@HerrimanCoder HerrimanCoder commented Jul 9, 2020

Hi Jamie,

I followed your steps, and unfortunately the same behavior continues. What else can I try?

Thank you.

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented Jul 10, 2020

@HerrimanCoder,

Each time I do a sync with GitHub Extension for Visual Studio 2019, I am prompted by the Pick An Account popup screen not once but TWICE.

I believe the sync functionality you mention is part of Team Explorer, which is built into Visual Studio. This functionality is going away and being replaced with a new Git specific experience.

Could you try enabling the New Git user experience option.

image

Then try pushing and pulling using the Git tool window:

image

You might need to install the Visual Studio 2019 Preview to see this:
https://devblogs.microsoft.com/visualstudio/improved-git-experience-in-visual-studio-2019/

Please let me know how you get on!

@HerrimanCoder
Copy link
Author

@HerrimanCoder HerrimanCoder commented Jul 10, 2020

I went to the trouble to install VS 2019 Preview, enabled the new GIT experience...same exact problem. I have to click on my account for every push and every pull. Also the new GIT experience has no "sync" that I can find, which was a convenient feature. Now I have to click Pull...wait...click Push...wait...and of course have the annoying popup occur twice during this process.

Also, in the old Teams view, "pre-GIT window", it showed me when I had a local commit ready to be pushed to the server. The new Git window doesn't seem to have this. I have no way of knowing if I have something that needs to be pushed to the server.

The new GIT window doesn't seem any better. I see no advantages, only the missing "sync" feature and the missing "committed changes ready to be pushed to server".

Why is the new GIT window missing critical functionality? Why is this experience getting worse instead of better?

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.