open-webui/backend/open_webui/migrations
Classic298 7238fa6beb fix: SCIM-provisioned users cannot sign in with SSO
Since v0.12.0 every sign-in needs a stored login record for the account, but users created through SCIM never got one, so SSO sign-in for them failed with "Invalid authentication request." SCIM now creates that record the same way SSO sign-up does, with a random password nobody knows, updates its email when the identity provider changes the user's email over SCIM, and removes it when SCIM deletes the user. On upgrade, a migration adds the record for every existing account that lacks one, without a usable password, so users SCIM already created can sign in with SSO right away and still cannot sign in with a password.

Fixes #32347
2026-10-13 16:10:29 +02:00
..
versions fix: SCIM-provisioned users cannot sign in with SSO 2026-10-13 16:10:29 +02:00
env.py refac 2026-10-07 15:01:08 +04:00
README refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
script.py.mako wip 2024-12-10 00:54:13 -08:00
util.py chore: format 2026-06-01 13:56:55 -07:00

Generic single-database configuration.

Create new migrations with
DATABASE_URL=<replace with actual url> alembic revision --autogenerate -m "a description"