mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 10:04:14 -05:00
[PR #311] [MERGED] feat(auth): add auth middleware #7048
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/open-webui/open-webui/pull/311
Author: @anuraagdjain
Created: 12/28/2023
Status: ✅ Merged
Merged: 1/1/2024
Merged by: @tjbck
Base:
main← Head:refac/auth-middleware📝 Commits (10+)
a01b112feat(auth): add auth middleware39b8e44Merge branch 'main' into refac/auth-middlewarebdd153drefac: use dependencies to verify token613053eMerge branch 'refac/auth-middleware' of https://github.com/anuraagdjain/ollama-webui into refac/auth-middleware08c0d7afix: merge conflicts2532cb1Merge branch 'main' of github.com:ollama-webui/ollama-webui into refac/auth-middleware60c801eremove unused import in main9d251f1Merge branch 'main' into refac/auth-middleware8cfc787Merge branch 'main' into refac/auth-middleware2d323b3Merge branch 'main' into refac/auth-middleware📊 Changes
10 files changed (+174 additions, -331 deletions)
View changed files
📝
backend/.gitignore(+2 -1)📝
backend/apps/ollama/main.py(+7 -3)📝
backend/apps/web/main.py(+3 -5)📝
backend/apps/web/models/users.py(+0 -10)📝
backend/apps/web/routers/auths.py(+12 -25)📝
backend/apps/web/routers/chats.py(+36 -97)📝
backend/apps/web/routers/modelfiles.py(+63 -115)📝
backend/apps/web/routers/users.py(+31 -61)📝
backend/requirements.txt(+2 -0)📝
backend/utils/utils.py(+18 -14)📄 Description
refac: use dependencies to verify token
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.