data-setup icon indicating copy to clipboard operation
data-setup copied to clipboard

WSL browser / gcloud auth login

Open gmanchon opened this issue 3 years ago • 1 comments

update instructions to support new gcloud CLI auth flow on WSL

gmanchon avatar Jul 08 '22 15:07 gmanchon

After some testing on WSL:

  • gcloud auth login works fine with Windows 11, the window will open with the default browser chosen on Windows
  • gcloud auth login --no-launch-browser works fine with Windows 10, and the depreciation warning has disappeared

Tested with Google Cloud SDK 395.0.0

If we can avoid the install of gcloud on Windows it would be nice.

Will update the PR on October 3rd when back from holidays

vtmoreau avatar Sep 16 '22 09:09 vtmoreau

@gmanchon Tested on Win11 & Win10 gcloud auth login --no-launch-browser works like a charm on both

vtmoreau avatar Oct 04 '22 08:10 vtmoreau

thanks @vtmoreau ! 🙏

gmanchon avatar Oct 04 '22 08:10 gmanchon