-
Notifications
You must be signed in to change notification settings - Fork 1.4k
chore: auth0 sample (Auth for Headless Agents) #507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
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. |
903aa37
to
39fbd71
Compare
Please move this PR to the samples/ directory and have it use the SDK from https://github.com/google/a2a-python/ |
got it, and consuming SDK from https://github.com/google/a2a-python instead of |
BTW, https://github.com/google/a2a-python is currently using |
cc74e83
to
b5d729a
Compare
PR is ready for review cc @holtskinner |
Yes. There are new updates to spec which will be rolled out soon. They will have securitySchemes and security, following OpenAPI's security spec. |
Auth for Headless Agents sample
This sample demonstrates how headless agent's tools can leverage Auth0's Client-Initiated Backchannel Authentication (CIBA) flow to request user authorization via push notification and obtain tokens for accessing separate APIs.
Additionally, it shows agent-level authorization via the OAuth 2.0 Client Credentials flow.
How It Works
Allows an A2A client to interact with an external HR Agent, owned by Staff0, to verify whether the provided user data corresponds to an active Staff0 employee.
With the user’s authorization (via push notification), the Staff0 HR Agent can access the internal company HR API to retrieve their employment details.