Skip to content

[FASTAPI] Object ClaimsIdentity can't be used in 'await' expression #298

@MattB-msft

Description

@MattB-msft

When using Agents Playground in Anonymous mode the JWT middleware for fast API throws as its attempting to call a sync method via an Async pattern.

https://github.com/microsoft/Agents-for-python/blob/a54797cbbe267e0ea8c8b6f10b379a8918dc2d4e/libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/jwt_authorization_middleware.py#L66C7-L66C65

Metadata

Metadata

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions