When I am running the Antigravity CLI remotely, in a terminal via SSH, the terminal is not able to automatically spawn a browser, but the URL that it provides for you to login manually has carriage returns and spaces built into the url.
So, the text looks like this:
Open this link in the browser (be sure to copy-paste the whole URL):
──────────────────────────────────────────────────────────────────────────────
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=123456
6060591-abcdefgs2h21lcre235vtolojh4g403ep.apps.googleusercontent.com&code_chall
enge=-nqR9DpolmtW7gYoj9PFiABtBGBDMKiDQthseuUZ9Sk&code_challenge_method=S256&pr
ompt=consent&redirect_uri=https%3A%2F%2Fantigravity.google%2Foauth-callback&re
sponse_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platfor
m+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.g
oogleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Faut
h%2Fcclog+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fexperimentsandconfigs+open
id&state=bP6OOusEc_YSGjsi-ftHcQ
──────────────────────────────────────────────────────────────────────────────
So, in order to use this URL to login, you have to copy it into another tool and remove the spaces and carriage returns in order to sign in.
/l
Cc: @pradeepkuppala