VisualStudio icon indicating copy to clipboard operation
VisualStudio copied to clipboard

`Sign in with browser` not working - things to try

Open jcansdale opened this issue 6 years ago • 1 comments

Things to try

  • Put this into Chrome address bar: chrome://net-internals/#hsts Then go to the bottom and delete localhost from the Delete domain security policy. see https://github.com/github/VisualStudio/issues/2527#issuecomment-730082783

  • Copy link https://github.com/login/oauth/authorize?client_id=.... and open it in Incognito Mode see https://github.com/github/VisualStudio/issues/2521#issuecomment-731202381

jcansdale avatar Nov 20 '20 17:11 jcansdale

Things to try

  • Put this into Chrome address bar: chrome://net-internals/#hsts Then go to the bottom and delete localhost from the Delete domain security policy. see #2527 (comment)
  • Copy link https://github.com/login/oauth/authorize?client_id=.... and open it in Incognito Mode see #2521 (comment)

Thanks. This helped, but I'd like to figure out why it's happening to begin with. The listener for the return URI is definitely spawned with whatever random port. I'm copying the OAuth return url from the browser, opening either Edge (normal) or Chrome (incognito), then pasting the url using http rather than https to be able to login. The credential gets created in my Windows Credential manager properly afterwards.

I have several web projects utilizing azure OAuth with pkce listening with SSL on their own ports and they work fine.

12trey avatar Dec 30 '20 18:12 12trey