Skip to content

chore: Update the calendar agent to show how server auth can work#59

Merged
holtskinner merged 3 commits intoa2aproject:mainfrom
mikeas1:calendar-server-auth
Jun 3, 2025
Merged

chore: Update the calendar agent to show how server auth can work#59
holtskinner merged 3 commits intoa2aproject:mainfrom
mikeas1:calendar-server-auth

Conversation

@mikeas1
Copy link
Contributor

@mikeas1 mikeas1 commented May 28, 2025

Description

This updates the ADK Calendar Agent to support storing credentials per-user, rather than just per-session. It does so by introducing an extremely simple JWT authentication layer that identifies incoming sub claims on an unvalidated, unverified JWT. This then gets the ServerCallContext.user field correctly populated, which we can then use to setup an in-memory, user-keyed credential store.

Depends on a2aproject/a2a-python#133

@mikeas1 mikeas1 requested a review from a team as a code owner May 28, 2025 23:06
@holtskinner holtskinner merged commit 29b9ff0 into a2aproject:main Jun 3, 2025
1 check passed
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.

3 participants