Merge pull request #3254 from sususu98/fix/antigravity-project-id-onboard

fix: require antigravity project id
This commit is contained in:
Luis Pater
2026-05-21 02:52:32 +08:00
committed by GitHub
10 changed files with 666 additions and 109 deletions
@@ -2081,7 +2081,7 @@ func (h *Handler) RequestAntigravityToken(c *gin.Context) {
log.Warnf("antigravity: failed to fetch project ID: %v", errProject)
} else {
projectID = fetchedProjectID
log.Infof("antigravity: obtained project ID %s", projectID)
log.Infof("antigravity: obtained project ID %s", util.HideAPIKey(projectID))
}
}
@@ -2125,7 +2125,7 @@ func (h *Handler) RequestAntigravityToken(c *gin.Context) {
CompleteOAuthSessionsByProvider("antigravity")
fmt.Printf("Authentication successful! Token saved to %s\n", savedPath)
if projectID != "" {
fmt.Printf("Using GCP project: %s\n", projectID)
fmt.Printf("Using GCP project: %s\n", util.HideAPIKey(projectID))
}
fmt.Println("You can now use Antigravity services through this CLI")
}()