8000 fix(chat): surface OAuth authorization failures by jackiectl2 · Pull Request #553 · google/adk-web · GitHub
[go: up one dir, main page]

Skip to content

fix(chat): surface OAuth authorization failures - #553

Open
jackiectl2 wants to merge 1 commit into
google:mainfrom
jackiectl2:fix-oauth-authorization-error
Open

jackiectl2 wants to merge 1 commit into
google:mainfrom
jackiectl2:fix-oauth-authorization-error

Conversation

@jackiectl2
Copy link
Copy Markdown

Summary

Surface OAuth authorization failures to the chat window. A popup callback now reports the error to its opener and closes; a same-window redirect displays the error in a snackbar. The opener also handles a rejected popup authorization promise.

Fixes #220.

Testing

  • New popup error regression timed out before the fix and passes after it.
  • Chat component tests: 135 passed (CHROME_BIN=/usr/bin/chromium npm test -- --watch=false --browsers=ChromeHeadless --include=src/app/components/chat/chat.component.spec.ts).
  • npm run build passed.

Report callback failures to the opener and show errors from popup and
same-window OAuth redirects in the chat UI.

Signed-off-by: Tianlang (Jackie) Chen <305351710+jackiectl2@users.noreply.github.com>
@google-cla
google-cla Bot commented Oct 24, 2026
Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

Display an error message when OAuth authentication fails

1 participant

0