Comment
New Contributor

Subject: 302 Authentication Errors on Agent Discovery Endpoint

Hi, thanks for the great tutorial! I successfully deployed the A2A Currency Agent on Azure Databricks Apps, but I'm getting 302 redirects when trying to test it programmatically from a Databricks notebook.

Issue: All endpoints return 302 redirects requiring OAuth login:

  • /.well-known/agent-card.json → 302 redirect
  • Even when using WorkspaceClient().config.authenticate() headers
  • Even when using service principal Bearer tokens
  • The agent card JSON is visible via browser when logged into Databricks, but I can't send messages programmatically

    Questions:

    • Should the agent card be publicly accessible per A2A protocol?
    • How do you authenticate to A2A endpoints from Databricks notebooks?
    • The tutorial's test code (Step 7) doesn't show authentication - how is this supposed to work?

      Any guidance on how to properly test the agent would be appreciated!