mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #9447] Allow anon users #54174
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?
Originally created by @crizCraig on GitHub (Feb 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9447
Feature Request
Problem:
Users can't chat before sign up unless
WEB_AUTHis off, in which case all chats are visible to all users and only one user total can exist.Describe the solution you'd like
Create an anonymous session automatically for new users and replace the user box below with a signup form or link to
/auth:Describe alternatives you've considered
Looked into #929 and
WEB_AUTHbut this only works for fresh installations per this. Another way to do this would be to use a single user, like WEB_AUTH=false does with admin@localhost but this would be an anon user instead. And then we could make all chats temporary chats. The downside being no chat history and the full functionality of Open WebUI like settings, folders, chat, would not be available.Additional context
Users would need to be given anonymous names. Also when signing up, the user's information should UPDATE and not INSERT into the db, under the existing user_id so that their data is preserved.