Skip to content

fix(apollo-vertex): ai-chat login for deployed vercel app [AGVSOL-1712]#435

Merged
KokoMilev merged 1 commit intomainfrom
fix/ai-chat-deployment-login
Apr 1, 2026
Merged

fix(apollo-vertex): ai-chat login for deployed vercel app [AGVSOL-1712]#435
KokoMilev merged 1 commit intomainfrom
fix/ai-chat-deployment-login

Conversation

@pieman1313
Copy link
Copy Markdown
Contributor

No description provided.

@pieman1313 pieman1313 requested a review from a team as a code owner April 1, 2026 09:28
Copilot AI review requested due to automatic review settings April 1, 2026 09:28
@KokoMilev KokoMilev enabled auto-merge (rebase) April 1, 2026 09:28
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

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

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Apr 01, 2026, 02:32:02 AM
apollo-landing 🟢 Ready Preview, Logs Apr 01, 2026, 02:29:19 AM
apollo-ui-react 🟢 Ready Preview, Logs Apr 01, 2026, 02:30:59 AM
apollo-vertex 🟢 Ready Preview, Logs Apr 01, 2026, 02:31:02 AM
apollo-wind 🟢 Ready Preview, Logs Apr 01, 2026, 02:29:51 AM

@github-actions github-actions bot added the size:S 10-29 changed lines. label Apr 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Dependency License Review

  • 1924 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 3 package(s) excluded (see details below)
License distribution
License Packages
MIT 1689
ISC 89
Apache-2.0 56
BSD-3-Clause 28
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 5
MIT OR Apache-2.0 3
MIT-0 3
CC0-1.0 3
LGPL-3.0-or-later 2
(MIT OR Apache-2.0) 2
Unlicense 2
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the Apollo Vertex AI Chat demo’s OAuth redirect handling for Vercel deployments by introducing a dedicated /auth_callback route and updating the AI Chat template to use it as the OAuth redirect target.

Changes:

  • Update AiChatTemplate to use /auth_callback as ShellAuthProvider.redirectPath.
  • Add a new client-side /auth_callback page that forwards the OAuth query params to the stored “return-to” path.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
apps/apollo-vertex/templates/AiChatTemplate.tsx Changes OAuth redirectPath to point to the new callback route.
apps/apollo-vertex/app/auth_callback/page.tsx Adds a client route that redirects from /auth_callback to the original page while preserving query params.

@KokoMilev KokoMilev merged commit 94f1e40 into main Apr 1, 2026
45 checks passed
@KokoMilev KokoMilev deleted the fix/ai-chat-deployment-login branch April 1, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants