Skip to content

fix: Multitenancy support for public agent card doesn't match the client. - #1111

Open
ehsavoie wants to merge 2 commits into
a2aproject:mainfrom
ehsavoie:issue_1107
Open

fix: Multitenancy support for public agent card doesn't match the client.#1111
ehsavoie wants to merge 2 commits into
a2aproject:mainfrom
ehsavoie:issue_1107

Conversation

@ehsavoie

Copy link
Copy Markdown
Collaborator

On top of #1110
Fixes #1107 🦕

- Was calling extractTenant() (full normalized path) instead of rc.pathParam("tenant")
- Add tests/multitenancy/jsonrpc: proves tenant public cards work without REST on classpath

Fixes a2aproject#1106

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@ehsavoie
ehsavoie requested review from jmesnil and kabir August 31, 2026 18:24
@ehsavoie ehsavoie changed the title Issue 1107 fix: Mutitenancy support for public agent card doesn't match the client. Aug 31, 2026
- Align client URL pattern with server route: embed tenant inside well-known path
- Add fallback to original base URL when computed card URL returns HTTP error
- Extend stripWellKnownSuffix to handle tenant-specific suffixes

Fixes: a2aproject#1107

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@ehsavoie ehsavoie changed the title fix: Mutitenancy support for public agent card doesn't match the client. fix: Multitenancy support for public agent card doesn't match the client. Aug 31, 2026
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.

[Bug]: Mutitenancy support for public agent card doesn't match the client

1 participant