`Sign in with browser` not working - things to try
Things to try
-
Put this into Chrome address bar:
chrome://net-internals/#hstsThen 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
Things to try
- Put this into Chrome address bar:
chrome://net-internals/#hstsThen 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.