mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-16 09:34:30 -04:00
[PR #360] [MERGED] Example: Add auth using global dependencies #515
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:eugene/add_auth📝 Commits (2)
4037b6bx66568f9x📊 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.