From e1ae1c91af865758178d76ff8d0d0d81f76b6576 Mon Sep 17 00:00:00 2001 From: Paul Huliganga Date: Wed, 22 Apr 2026 12:18:42 -0400 Subject: [PATCH] Handle Adobe company profile strings --- web/routers/auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/routers/auth.py b/web/routers/auth.py index fb93a7e..9df7549 100644 --- a/web/routers/auth.py +++ b/web/routers/auth.py @@ -91,6 +91,8 @@ async def _fetch_adobe_profile(access_token: str) -> dict: return {} company = data.get("company") or {} + if not isinstance(company, dict): + company = {"name": str(company)} if company else {} account_name = ( company.get("name") or data.get("companyName")