Skip to content

fix: Correctly adapt starlette BaseUser to A2A User #133

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

Merged
merged 3 commits into from
Jun 2, 2025

Conversation

mikeas1
Copy link
Contributor

@mikeas1 mikeas1 commented May 28, 2025

Description

This fixes using the Starlette BaseUser class as our auth.User. I was previously marking BaseUser as a virtual subclass of auth.User, but auth.User is not compatible (it's closer to the flask-login user).

@mikeas1 mikeas1 force-pushed the fix-starlette-auth branch from 22984c6 to 2844180 Compare June 2, 2025 16:25
@mikeas1 mikeas1 requested a review from swapydapy June 2, 2025 18:55
@pstephengoogle pstephengoogle dismissed swapydapy’s stale review June 2, 2025 19:03

unblocking as this was addressed

@mikeas1 mikeas1 merged commit 88d45eb into google-a2a:main Jun 2, 2025
6 checks 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