Files
open-webui/backend/open_webui/utils
Classic298 fcb0af3fd4 fix: skip blocked OAuth groups when auto-creating groups (#31316)
With ENABLE_OAUTH_GROUP_CREATION on, every group in a user's OAuth claim was created on login, including groups matching OAUTH_BLOCKED_GROUPS. Membership sync already ignored those groups, so the result was empty groups nobody could join. With IdPs that send a user's full directory membership (Keycloak backed by LDAP/AD), one login could fill the group table with thousands of them.

Group creation now applies the same blocklist check as the membership add and remove steps, so a blocked group is never created, joined or left through OAuth. Groups that are not blocked are created as before.

Fixes #29558
2026-09-25 00:08:01 -04:00
..
2026-09-21 11:35:30 -04:00
2026-09-12 14:57:22 -04:00
2026-08-24 18:29:36 -04:00
2026-09-19 17:54:09 -04:00
2026-03-17 17:58:01 -05:00
2026-07-23 02:54:56 -04:00
2026-07-26 21:12:14 -04:00
2026-07-31 17:41:14 -04:00
2026-08-23 13:36:53 -04:00
2026-08-31 01:29:36 -04:00
2026-09-12 15:41:57 -04:00
2026-07-26 23:09:22 -04:00
2026-08-16 22:56:19 -07:00
2026-08-17 00:57:57 -07:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-09-21 11:35:30 -04:00
2026-08-25 16:53:53 -04:00
2026-06-19 00:16:06 +02:00
2026-08-25 16:53:53 -04:00
2026-09-15 22:47:03 -04:00
2026-07-31 17:41:14 -04:00