Antigravity login bug – OAuth succeeds but the app never completes sign-in for one specific Gmail account

Hello,

I’m experiencing a login issue with Antigravity where OAuth authentication completes successfully, but the app never finishes the sign-in process for one specific Gmail account.

Environment

Steps to reproduce

  1. Open Antigravity
  2. Click “Sign in with Google”
  3. Complete Google OAuth in the browser
  4. Browser redirects to:
    Google Antigravity
  5. Antigravity app opens again, but the login screen remains and onboarding never completes.

Additional details

  • The protocol handler works (running open antigravity:// opens the app).
  • Other Google accounts can log in successfully on the same machine.
  • This account was recently connected to the LG U+ promotion subscription.

Expected behavior
The app should complete sign-in and proceed to onboarding after OAuth success.

Actual behavior
OAuth succeeds but the Antigravity app stays on the login screen.

Could you please check whether the user record for this account exists or if the account provisioning failed?

Thank you.

2 Likes

facing the same issue for 4 days and there is no response from the google team

1 Like

I was stuck on this for a while — OAuth would succeed, browser shows “You have successfully authenticated”, but the desktop app never completes login.

After debugging logs, I found the issue:

TypeError: Do not know how to serialize a BigInt

So the app crashes in the background when trying to JSON.stringify a BigInt, and login silently fails.
You need to patch the desktop app:

  1. Go to:
C:\Users\YOUR_USER\AppData\Local\Programs\Antigravity\resources\app\out\main.js
  1. Add this at the top of the file (after the comment block):
BigInt.prototype.toJSON = function () {
  return this.toString();
};

:fire: Alternative fix (better)

Replace JSON.stringify(...) with:

JSON.stringify(obj, (_k, v) =>
  typeof v === "bigint" ? v.toString() : v
)

:warning: Important notes

  • This is a workaround (not official fix)

  • After updating Antigravity, you may need to reapply it

  • Without this fix, the app crashes silently after OAuth

2 Likes