Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat(auth): add Google sign-in OAuth client settings to the env registry

nirholas303f45b8b3cc
diff --git a/api/_lib/env.js b/api/_lib/env.js
index f4fe34f7c..70bd5a063 100644
--- a/api/_lib/env.js
+++ b/api/_lib/env.js
@@ -1725,6 +1725,19 @@ export const env = {
return opt('X_OAUTH_CLIENT_SECRET');
},
+ // Google sign-in (OpenID Connect, authorization code + PKCE) for
+ // /api/auth/google/*: link Google to an existing account, then sign in with
+ // it. Create a "Web application" OAuth client in the Google Cloud console
+ // with the redirect URI `${PUBLIC_APP_ORIGIN}/api/auth/google/callback`.
+ // When unset the Google buttons stay hidden and the routes answer
+ // `unconfigured` (docs/authentication.md, "Sign in with Google").
+ get GOOGLE_OAUTH_CLIENT_ID() {
+ return opt('GOOGLE_OAUTH_CLIENT_ID');
+ },
+ get GOOGLE_OAUTH_CLIENT_SECRET() {
+ return opt('GOOGLE_OAUTH_CLIENT_SECRET');
+ },
+
// Livepeer AI Gateway, optional. When set, the Livepeer lanes route to
// https://livepeer.studio/api/generate with bearer auth. When unset they
// resolve to the no-key public dream gateway, which api/_lib/livepeer-