Google Cloud CLI headless new sign-in flow
cyzs233 opened this issue · 2 comments
Any thoughts? How much inconvenience will it bring to the current RDP? Extra steps to setup gCloud CLI for every new RDP instance.
The new authentication flow requires you to update your current flags’ state before March 15, 2022. The old flow will be unavailable after April 26, 2022.
To continue using the Out of band OAuth 2.0 flow, you must install gCloud CLI on the local computer (i.e., the one that has a web browser) to generate the credential token for use on the remote Gcloud machine that has no web browser.
Any thoughts? How much inconvenience will it bring to the current RDP? Extra steps to setup gCloud CLI for every new RDP instance.
This might not affect our RDP as changes to drive mount method is already done by Colab team which broke our RDP previously, and I found gcloud
CLI is already installed in the Colab environment.
There is a possibility that current drive mount will require a small patch as you are getting some warnings.
Don't worry about this, it will not cause any trouble.
An Interesting Information
When I was fixing drive issue I found a native or you can say Linux build of Google Drive File Stream present there. It is not publically available for Linux and used to mount the drive (native method) using some closed source code.
Path for its binary is /opt/google/drive/drive
. It requires a lot of research and reverse engineerig to make it work, and I believe google wont share his secret or release it publically.