[PR #360] [MERGED] Example: Add auth using global dependencies #515

Closed
opened 2026-02-16 01:15:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langserve/pull/360
Author: @eyurtsev
Created: 1/3/2024
Status: Merged
Merged: 1/3/2024
Merged by: @eyurtsev

Base: mainHead: eugene/add_auth


📝 Commits (2)

📊 Changes

1 file changed (+53 additions, -0 deletions)

View changed files

examples/auth/global_deps/server.py (+53 -0)

📄 Description

Add an example that shows how to use FastAPI global dependencies for auth.

Will follow up with more involved examples.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langserve/pull/360 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 1/3/2024 **Status:** ✅ Merged **Merged:** 1/3/2024 **Merged by:** [@eyurtsev](https://github.com/eyurtsev) **Base:** `main` ← **Head:** `eugene/add_auth` --- ### 📝 Commits (2) - [`4037b6b`](https://github.com/langchain-ai/langserve/commit/4037b6b503827b39449b7b391f10f0043fe67862) x - [`66568f9`](https://github.com/langchain-ai/langserve/commit/66568f99e0aa01523b251b13d50f1223e7ea4fef) x ### 📊 Changes **1 file changed** (+53 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/auth/global_deps/server.py` (+53 -0) </details> ### 📄 Description Add an example that shows how to use FastAPI global dependencies for auth. Will follow up with more involved examples. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:13 -05:00
yindo closed this issue 2026-02-16 01:15:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#515