Skip to content

feat: support authentication field in push notification webhooks - #851

Merged
jmesnil merged 1 commit into
a2aproject:0.3.xfrom
kabir:fix-pnc-auth
May 6, 2026
Merged

jmesnil merged 1 commit into
a2aproject:0.3.xfrom
kabir:fix-pnc-auth

Conversation

@kabir

@kabir kabir commented May 5, 2026

Copy link
Copy Markdown
Collaborator

I found this wasn't getting propagated when working on a2aproject/a2a-tck#178

@kabir kabir added the 0.3.x label May 5, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds support for HTTP Authorization headers in push notifications by integrating PushNotificationAuthenticationInfo into the dispatch process. Corresponding unit tests were added to verify various authentication scenarios. Feedback was provided to simplify the authentication check by removing a redundant null check and adding a blankness check for credentials to prevent malformed headers.

@jmesnil
jmesnil merged commit c2cfd7c into a2aproject:0.3.x May 6, 2026
10 checks passed
@jmesnil

jmesnil commented May 6, 2026

Copy link
Copy Markdown
Contributor

@kabir thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants