# \#fastapi

**URL:** https://community.auth0.com/tag/fastapi/1543.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [MS Agent Framework and Python: Use the Auth0 Token Vault to Call Third-Party APIs](https://community.auth0.com/t/ms-agent-framework-and-python-use-the-auth0-token-vault-to-call-third-party-apis/193959)

<div class="topic-metadata">

**Author:** [@andrea.chiarelli](https://community.auth0.com/u/andrea.chiarelli)\
**Replies:** 18\
**Last updated:** [February 15, 2026, 11:49am UTC](https://community.auth0.com/t/ms-agent-framework-and-python-use-the-auth0-token-vault-to-call-third-party-apis/193959 "2026-02-15T11:49:50Z")

</div>

Learn how to build a secure Python AI Agent with Microsoft Agent Framework and FastAPI and use Auth0 Token Vault to securely connect to the Gmail API. Read on here!

---

## [Simple-auth0-fastapi-react-app example repo](https://community.auth0.com/t/simple-auth0-fastapi-react-app-example-repo/95880)

<div class="topic-metadata">

**Author:** [@roy2](https://community.auth0.com/u/roy2)\
**Replies:** 3\
**Last updated:** [May 24, 2024, 3:02pm UTC](https://community.auth0.com/t/simple-auth0-fastapi-react-app-example-repo/95880 "2024-05-24T15:02:17Z")

</div>

Hi, I’m posting here a github repo that we created to help anyone who wants to start using Auth0 understand the basic flows. This is a React application with a python FastAPI backend that uses the auth-python package t…

---

## [FastAPI/Python API: Authorization Code Sample](https://community.auth0.com/t/fastapi-python-api-authorization-code-sample/99181)

<div class="topic-metadata">

**Author:** [@byron.motoche](https://community.auth0.com/u/byron.motoche)\
**Replies:** 12\
**Last updated:** [April 27, 2023, 2:40pm UTC](https://community.auth0.com/t/fastapi-python-api-authorization-code-sample/99181 "2023-04-27T14:40:38Z")

</div>

This Python code sample demonstrates how to implement authorization in a FastAPI server using Auth0.

---

## [Secure a FastAPI Server with Auth0 - Invalid User](https://community.auth0.com/t/secure-a-fastapi-server-with-auth0-invalid-user/81386)

<div class="topic-metadata">

**Author:** [@JaimeFabian](https://community.auth0.com/u/JaimeFabian)\
**Replies:** 4\
**Last updated:** [February 17, 2023, 7:45am UTC](https://community.auth0.com/t/secure-a-fastapi-server-with-auth0-invalid-user/81386 "2023-02-17T07:45:50Z")

</div>

Hi everyone, I’m setting up a server with FastAPI and I want to secure its endpoints using Auth0. I’ve followed and implemented this article Build and Secure FastAPI Server with Auth0 and also this video How to Protect…

---

## [fastAPI package to check JWT permissions in offline scop](https://community.auth0.com/t/fastapi-package-to-check-jwt-permissions-in-offline-scop/99436)

<div class="topic-metadata">

**Author:** [@chaitanya.tyagi](https://community.auth0.com/u/chaitanya.tyagi)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 1:52pm UTC](https://community.auth0.com/t/fastapi-package-to-check-jwt-permissions-in-offline-scop/99436 "2023-02-07T13:52:49Z")

</div>

I want to authorise a user based on the permissions in there JWT token but while using the offline flow the scope is set to offline\_access whereas if I use the client credential flow, all my permissions are present in th…

---

## [Angular frontend communicating with FastAPI does not seem to send the my custom scopes](https://community.auth0.com/t/angular-frontend-communicating-with-fastapi-does-not-seem-to-send-the-my-custom-scopes/66244)

<div class="topic-metadata">

**Author:** [@evert](https://community.auth0.com/u/evert)\
**Replies:** 5\
**Last updated:** [July 19, 2021, 3:29pm UTC](https://community.auth0.com/t/angular-frontend-communicating-with-fastapi-does-not-seem-to-send-the-my-custom-scopes/66244 "2021-07-19T15:29:50Z")

</div>

I have based on your examples created an Angular 11 SPA (running locally on port 4200) which communicates with a FastAPI based backend (running locally on localhost port 8080). I am using the package ‘fastapi-auth0’. Now…
