From 41e724cdaf88340e82d8b1bc6ccc7b36eb612c81 Mon Sep 17 00:00:00 2001 From: Luke Garceau Date: Thu, 27 Nov 2025 19:00:26 -0500 Subject: [PATCH] resolve incorrect tabulation --- backend/open_webui/utils/oauth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/utils/oauth.py b/backend/open_webui/utils/oauth.py index ac1a4818c1..9a1391cfc8 100644 --- a/backend/open_webui/utils/oauth.py +++ b/backend/open_webui/utils/oauth.py @@ -1074,8 +1074,8 @@ class OAuthManager: oauth_roles = claim_data.split(OAUTH_ROLES_SEPARATOR) else: oauth_roles = [claim_data] - elif isinstance(claim_data, int): - oauth_roles = [str(claim_data)] + elif isinstance(claim_data, int): + oauth_roles = [str(claim_data)] log.debug(f"Oauth Roles claim: {oauth_claim}") log.debug(f"User roles from oauth: {oauth_roles}")