Skip to content

feat(gateway): add per-member Google Vertex sign-in - #5236

Merged
benjaminshafii merged 4 commits into
devfrom
ai-gateway-google-vertex
Sep 23, 2026
Merged

benjaminshafii merged 4 commits into
devfrom
ai-gateway-google-vertex

Conversation

@OmarMcAdam

@OmarMcAdam OmarMcAdam commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

What is this about?

Add browser-based Google sign-in for Gemini and Claude through AI Gateway, using an organization's own Google OAuth app. Assigned models prompt for Login in the picker. Includes separate OpenWork/Google sign-in steps and setup docs.

What problem does it solve?

Members can connect without gcloud or service-account files. Their Google credentials stay on the server, renew when needed, and remain tied to their account. Cloud worker control now requires its creator.

What was the situation before?

A clean browser could finish Google consent but fail the OpenWork callback. Reconnect completion and administrator-repair states were unclear, and some credential lifecycle boundaries needed additional checks.

Evidence

  • No E2E; unit- and database-tested. pnpm --filter @openwork-ee/den-api run test:vertex-auth and test:vertex-auth:db cover browser binding, member ownership, and failed-consent cleanup.
  • Gateway refresh tests cover token reuse, renewal, short lifetimes, and concurrent updates.
  • pnpm --filter @openwork-ee/den-web run test:vertex-auth covers connected, blocked, reconnect, and browser-entry states.
  • Real Google renewal and full end-to-end acceptance remain unverified. SDK consistency, typechecks, docs validation, and link checks were run locally.

Design: P1, P2, P3, P4, P5, C6.

@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 23, 2026 3:39pm UTC
openwork-den Ready Ready Preview Sep 23, 2026 3:39pm UTC
openwork-diagnostics Ready Ready Preview Sep 23, 2026 3:39pm UTC
openwork-landing Ready Ready Preview, v0 Sep 23, 2026 3:39pm UTC

@mintlify

mintlify Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
differentai 🟢 Ready View Preview Sep 23, 2026, 3:38 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@benjaminshafii
benjaminshafii merged commit fa31206 into dev Sep 23, 2026
32 of 33 checks passed
reachjalil added a commit that referenced this pull request Sep 30, 2026
Brings in centralized Gateway usage management (#5139), per-member Google
Vertex sign-in (#5236) and Mistral providers (#5264). Our migration moves to
0111 on top of dev's 0108-0110 with an unchanged table set; the DB test now
upgrades from the 0110 snapshot. dev's shared session-cache helper replaces
our local copy in the management-boundary test.

This branch was successfully deployed

5 active deployments
Preview – openwork-den — ea505900 Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-app — ea505900 Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-landing — ea505900 Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-diagnostics — ea505900 Deployed Sep 23, 2026 by vercel[bot]
staging - packages/docs — ea505900 Deployed Sep 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants