# Building a Secure RAG with Python, LangChain, and OpenFGA

**URL:** <https://community.auth0.com/t/building-a-secure-rag-with-python-langchain-and-openfga/182060>\
**Category:** Blog Discussions\
**Tags:** openfga, rag, fga, ai\
**Created:** [February 12, 2025, 4:21pm UTC](https://community.auth0.com/t/building-a-secure-rag-with-python-langchain-and-openfga/182060 "2025-02-12T16:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertino.calcaterra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/robertino.calcaterra/32/66825_2.png) [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Post date:** [February 12, 2025, 4:21pm UTC](https://community.auth0.com/t/building-a-secure-rag-with-python-langchain-and-openfga/182060/1 "2025-02-12T16:21:57Z")

</div>

Learn how to use Auth0 FGA to secure your LangChain RAG agent in Python.  
[Read more…](https://auth0.com/blog/building-a-secure-rag-with-python-langchain-and-openfga/)

✍🏻 Brought to you by @juan.martinez

 ![Building a Secure RAG with Python, LangChain, and OpenFGA](https://global.discourse-cdn.com/auth0/original/3X/b/d/bd34b7d6c97dcf79e10babf04253d4d1f6fd6e81.jpeg)

---

<div class="post-metadata">

**Author:** ![robertino.calcaterra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/robertino.calcaterra/32/66825_2.png) [@robertino.calcaterra](https://community.auth0.com/u/robertino.calcaterra)\
**Post date:** [February 12, 2025, 4:22pm UTC](https://community.auth0.com/t/building-a-secure-rag-with-python-langchain-and-openfga/182060/2 "2025-02-12T16:22:30Z")

</div>

Developers, we value your input! Share your thoughts and feedback in the comments.
