style(mcp): black format oauth2_token_cache.py

This commit is contained in:
Ishaan Jaffer 2026-05-01 12:12:01 -07:00
parent dfece13cdd
commit 539ffd0a31
No known key found for this signature in database

View file

@ -281,7 +281,9 @@ async def resolve_mcp_auth(
mcp_token_exchange_handler,
)
return await mcp_token_exchange_handler.exchange_token(subject_token, server)
return await mcp_token_exchange_handler.exchange_token(
subject_token, server
)
# No subject_token — fall back to client_credentials using the same client
# credentials and token_url so M2M scenarios still work.
if server.client_id and server.client_secret and server.token_url: