diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 5e5f9e43d..221eae6e0 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -409,7 +409,7 @@ OAUTH_ROLES_CLAIM = PersistentConfig( OAUTH_ALLOWED_ROLES = PersistentConfig( "OAUTH_ALLOWED_ROLES", "oauth.allowed_roles", - [role.strip() for role in os.environ.get("OAUTH_ALLOWED_ROLES", "pending,user,admin").split(",")], + [role.strip() for role in os.environ.get("OAUTH_ALLOWED_ROLES", "user,admin").split(",")], ) OAUTH_ADMIN_ROLES = PersistentConfig(