How to use RemoteA2aAgent with authentication for agent card? #2831
Unanswered
revanthbhuvanagiri
asked this question in
Q&A
Replies: 1 comment
-
@boyangsvl Could you please me here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to use RemoteA2aAgent in my code as shown below:
Sample code I'm using to call the remote agent :
For the agent card I'm using it requires the username and password when ever open the link in the browser
The issue I’m facing is that the agent card URL requires authentication (username and password) . Because of this, the agent fails to call the remote agent.
My Question:
How can I configure RemoteA2aAgent to work with an agent card that requires basic authentication (username/password)?
Is there a way to pass credentials in the RemoteA2aAgent configuration?
Or do I need to handle authentication separately before making the call?
Any examples or best practices would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions