ToolingPublished ExplainedAll news from that day
How sign-in tokens and API keys differ, and what Antigravity's terms allow
Explains OAuth tokens and API keys; Google's Antigravity terms treat a sign-in used by a third-party coding tool as a breach.
Check our sources · 11 facts from 4 sources
Illustration made with AI for ai notis
Key points
- RFC 6749, the OAuth standard, says an access token is "a string denoting a specific scope, lifetime, and other access attributes", issued with the owner's approval.
- Every Gemini API key belongs to a Google Cloud project that manages billing, and Google says to treat the key like a password.
- Google's Antigravity FAQ says using third-party software with an Antigravity login violates its terms and can lead to suspension; it recommends an API key instead.
What happened
Google's terms for its coding product Antigravity name one thing as a breach: using another tool, such as OpenClaw, with an Antigravity sign-in. The terms call that sign-in "Antigravity OAuth".
OAuth is an internet standard for letting one application reach something on your behalf without having your password. Handing a third-party application the password itself causes problems the standard sets out to fix: the application has to store it, gets broader access than needed, and cannot be cut off without changing the password.
With OAuth, you approve the application, and a server issues it an access token instead. The token is a string that stands for a specific permission, with limits on what it covers and how long it lasts. A second kind, the refresh token, can be used to fetch a new access token when the old one expires.
An API key is a different kind of credential. For Google's Gemini API, every key belongs to a Google Cloud project, and projects manage billing and quotas. Google says to treat the key like a password: someone who gets it can use up your quota, run up charges and reach private resources.
So the two are tied to different things. Google's FAQ says using third-party software to reach Antigravity with your login breaks its terms and can get an account suspended, and recommends a Gemini Enterprise or Google AI Studio API key for third-party coding agents.
Before you connect a tool, read the terms of the service you sign in to. Keep API keys out of source control and out of web or mobile apps, and if one leaks, create a new one and disable the old.
Underlined sentences link to the facts we checked. Dotted words open a short explainer.
Fact 6 of 11 · from Google
Every Gemini API key is associated with a Google Cloud project. ... Google Cloud projects manage billing, collaborators, and permissions.
Fact 11 of 11 · from Google
To use a third-party coding agent with Gemini, we recommend using a Gemini Enterprise or Google AI Studio API key.
What it means for you
Our viewA sign-in token is issued with the owner's approval, and a Gemini API key belongs to a Google Cloud project that manages billing. Google's Antigravity terms treat a third-party tool using an Antigravity sign-in as a breach, and Google recommends an API key for third-party coding agents used with Gemini.
If you use one, prefer a key, keep it out of source control, and replace it if it leaks. This week, open the terms of each AI service you sign in to and check whether they allow other tools to use that sign-in.
It adds no new facts.
Your reaction
We count reactions per story and day, never who reacted. The counts help us choose what goes in the monthly issue. If you are signed in, your own page shows yours too.
We count reactions per story and day, never who reacted. They help choose what goes in the monthly issue.
Check our sources
Every sentence above is checked against these 4 sources.
1 Google Antigravity Additional Terms of Service
Open the source archived copy-
Google's Antigravity additional terms say that using third party software, tools or services to access the Service (e.g. using OpenClaw with Antigravity OAuth) is a breach of the agreement.
cite
2 RFC 6749: The OAuth 2.0 Authorization Framework
Open the source archived copy-
RFC 6749 defines OAuth 2.0, a framework that introduces an authorization layer separating the role of the client (an application) from that of the resource owner; the client is issued different credentials from the owner's.
citeOAuth addresses these issues by introducing an authorization layer and separating the role of the client from that of the resource owner. In OAuth, the client requests access to resources controlled by the resource owner and hosted by the resource server, and is issued a different set of credentials than those of the resource owner.
-
RFC 6749 says that when a third-party application is given the owner's credentials, it must store them, typically a password in clear text, gains overly broad access, and the owner cannot revoke access to one third party without revoking access to all of them, which means changing the password.
Toned down to what the source says
citeThird-party applications are required to store the resource owner's credentials for future use, typically a password in clear-text. ... Third-party applications gain overly broad access to the resource owner's protected resources ... Resource owners cannot revoke access to an individual third party without revoking access to all third parties, and must do so by changing the third party's password.
-
RFC 6749 says the client obtains an access token, "a string denoting a specific scope, lifetime, and other access attributes", issued by an authorization server with the approval of the resource owner, instead of using the owner's credentials.
citeInstead of using the resource owner's credentials to access protected resources, the client obtains an access token -- a string denoting a specific scope, lifetime, and other access attributes. Access tokens are issued to third-party clients by an authorization server with the approval of the resource owner.
-
RFC 6749 says refresh tokens are credentials used to obtain a new access token when the current one becomes invalid or expires, and that issuing one is optional.
citeRefresh tokens are credentials used to obtain access tokens. ... used to obtain a new access token when the current access token becomes invalid or expires ... Issuing a refresh token is optional at the discretion of the authorization server.
3 Using Gemini API keys
Open the source archived copy-
Google's documentation says every Gemini API key is associated with a Google Cloud project, and that Cloud projects manage billing, collaborators and permissions.
citeEvery Gemini API key is associated with a Google Cloud project. ... Google Cloud projects manage billing, collaborators, and permissions.
-
Google's documentation says standard API keys associate requests with a Google Cloud project for billing and quota purposes.
citeAssociate requests with a Google Cloud project for billing and quota purposes.
-
Google's documentation says to treat the Gemini API key like a password: if compromised, others can consume the project's quota, incur unexpected billing charges and access private resources.
citeTreat your Gemini API key like a password. If compromised, others can consume your project's quota, incur unexpected billing charges, and access private resources.
-
Google's documentation says never to check API keys into source control or hardcode them in web or mobile apps, and if a key leaks to generate a new one, update the application and disable the old one.
citeNever check API keys into source control systems like Git. ... Do not hardcode API keys directly in web or mobile apps. ... Create a replacement key in Google AI Studio or the Cloud console. ... Deploy your code using the new key. ... Disable the leaked key in the Cloud console once the new key is verified.
4 Google Antigravity FAQ
Open the source archived copy-
Google's Antigravity FAQ says using third-party software to access Antigravity violates the Terms of Service and can result in suspension or termination of the account.
citeUsing third-party software, tools, or services to access Antigravity is a violation of our Terms of Service ... Such actions can result in suspension or termination of your account.
-
The FAQ recommends a Gemini Enterprise or Google AI Studio API key for using a third-party coding agent with Gemini.
citeTo use a third-party coding agent with Gemini, we recommend using a Gemini Enterprise or Google AI Studio API key.
Every sentence above is checked against these 4 sources. Each fact has its own address you can cite.
Source 1 · Google
Google Antigravity Additional Terms of Service
Google's Antigravity additional terms say that using third party software, tools or services to access the Service (e.g. using OpenClaw with Antigravity OAuth) is a breach of the agreement.
Source 2 · IETF (RFC Editor)
RFC 6749: The OAuth 2.0 Authorization Framework
RFC 6749 defines OAuth 2.0, a framework that introduces an authorization layer separating the role of the client (an application) from that of the resource owner; the client is issued different credentials from the owner's.
OAuth addresses these issues by introducing an authorization layer and separating the role of the client from that of the resource owner. In OAuth, the client requests access to resources controlled by the resource owner and hosted by the resource server, and is issued a different set of credentials than those of the resource owner.
RFC 6749 says that when a third-party application is given the owner's credentials, it must store them, typically a password in clear text, gains overly broad access, and the owner cannot revoke access to one third party without revoking access to all of them, which means changing the password.
Toned down to what the source saysThird-party applications are required to store the resource owner's credentials for future use, typically a password in clear-text. ... Third-party applications gain overly broad access to the resource owner's protected resources ... Resource owners cannot revoke access to an individual third party without revoking access to all third parties, and must do so by changing the third party's password.
RFC 6749 says the client obtains an access token, "a string denoting a specific scope, lifetime, and other access attributes", issued by an authorization server with the approval of the resource owner, instead of using the owner's credentials.
Instead of using the resource owner's credentials to access protected resources, the client obtains an access token -- a string denoting a specific scope, lifetime, and other access attributes. Access tokens are issued to third-party clients by an authorization server with the approval of the resource owner.
Show all 4 factsShow fewer facts
RFC 6749 says refresh tokens are credentials used to obtain a new access token when the current one becomes invalid or expires, and that issuing one is optional.
Refresh tokens are credentials used to obtain access tokens. ... used to obtain a new access token when the current access token becomes invalid or expires ... Issuing a refresh token is optional at the discretion of the authorization server.
Source 3 · Google
Using Gemini API keys
Google's documentation says every Gemini API key is associated with a Google Cloud project, and that Cloud projects manage billing, collaborators and permissions.
Every Gemini API key is associated with a Google Cloud project. ... Google Cloud projects manage billing, collaborators, and permissions.
Google's documentation says standard API keys associate requests with a Google Cloud project for billing and quota purposes.
Associate requests with a Google Cloud project for billing and quota purposes.
Google's documentation says to treat the Gemini API key like a password: if compromised, others can consume the project's quota, incur unexpected billing charges and access private resources.
Treat your Gemini API key like a password. If compromised, others can consume your project's quota, incur unexpected billing charges, and access private resources.
Show all 4 factsShow fewer facts
Google's documentation says never to check API keys into source control or hardcode them in web or mobile apps, and if a key leaks to generate a new one, update the application and disable the old one.
Never check API keys into source control systems like Git. ... Do not hardcode API keys directly in web or mobile apps. ... Create a replacement key in Google AI Studio or the Cloud console. ... Deploy your code using the new key. ... Disable the leaked key in the Cloud console once the new key is verified.
Source 4 · Google
Google Antigravity FAQ
Google's Antigravity FAQ says using third-party software to access Antigravity violates the Terms of Service and can result in suspension or termination of the account.
Using third-party software, tools, or services to access Antigravity is a violation of our Terms of Service ... Such actions can result in suspension or termination of your account.
The FAQ recommends a Gemini Enterprise or Google AI Studio API key for using a third-party coding agent with Gemini.
To use a third-party coding agent with Gemini, we recommend using a Gemini Enterprise or Google AI Studio API key.
Topics
The morning email
On the mornings we publish: the three top stories and up to four short ones. Free.
We email you a link to confirm. An issue may include one sponsor, always labelled Sponsored · Advertisement. Our emails count opens and clicks, not who made them. Unsubscribe in one click. What we keep