// Google OAuth client for the hub. The hub has no backend, so the client id/secret
// come from env. Empty client id = the Google button is hidden.
export type GoogleClient = { clientId: string; clientSecret: string };

export function resolveGoogleAuth(): GoogleClient {
  return {
    clientId: process.env.GOOGLE_CLIENT_ID || "",
    clientSecret: process.env.GOOGLE_CLIENT_SECRET || "",
  };
}
