# MS Agent Framework and Python: Use the Auth0 Token Vault to Call Third-Party APIs

**URL:** <https://community.auth0.com/t/ms-agent-framework-and-python-use-the-auth0-token-vault-to-call-third-party-apis/193959>\
**Category:** Blog Discussions\
**Tags:** python, fastapi, agent-framework, ai-agent, token-vault, api, ai\
**Created:** [October 31, 2025, 11:24am UTC](https://community.auth0.com/t/ms-agent-framework-and-python-use-the-auth0-token-vault-to-call-third-party-apis/193959 "2025-10-31T11:24:40Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![tinuvi.solutions](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tinuvi.solutions/32/61126_2.png) [@tinuvi.solutions](https://community.auth0.com/u/tinuvi.solutions)\
**Post date:** [February 11, 2026, 10:45pm UTC](https://community.auth0.com/t/ms-agent-framework-and-python-use-the-auth0-token-vault-to-call-third-party-apis/193959/18 "2026-02-11T22:45:39Z")

</div>

Thank you for helping me out! I’d actually already seen that library, but sadly, it doesn’t work for our setup. We use `Django` with `Gevent` ([you can see why here](https://charlesleifer.com/blog/asyncio/)), and that library requires `asyncio`. ☹

We ended up building our own library from scratch. Basically, we translated the `auth0-fastapi` and `auth0-server-python` libraries to create an opinionated way of handling account linking, connected account flows, and so on. My big concern is that the `My Account API` is not GA. 🤯 I used to use Token Vault, but it changed so drastically that I had to focus on account linking instead—at least until I found a serious bug in it. Well, [there is a specific topic for that](https://community.auth0.com/t/auth0-fails-to-store-refresh-tokens-for-linked-accounts/196953).

---

_[View the full topic](https://community.auth0.com/t/ms-agent-framework-and-python-use-the-auth0-token-vault-to-call-third-party-apis/193959)._
