diff --git a/setup.cfg b/setup.cfg index 96d9af032c..808ef615c8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -62,7 +62,7 @@ install_requires = opencv-python==4.10.0.84 OpenTimelineIO==0.17.0 OpenTimelineIO-Plugins==0.17.0 - orjson==3.10.11 + orjson==3.10.12 pillow==11.0.0 psutil==6.1.0 psycopg[binary]==3.2.3 @@ -105,7 +105,7 @@ test = monitoring = prometheus-flask-exporter==0.23.1 pygelf==0.4.2 - sentry-sdk==2.18.0 + sentry-sdk==2.19.0 lint = autoflake==2.3.1 diff --git a/zou/app/blueprints/auth/resources.py b/zou/app/blueprints/auth/resources.py index cf409d65cb..6ddd64486d 100644 --- a/zou/app/blueprints/auth/resources.py +++ b/zou/app/blueprints/auth/resources.py @@ -1362,8 +1362,22 @@ def post(self): authn_response.get_identity() email = authn_response.get_subject().text person_info = { - k: v if not isinstance(v, list) else " ".join(v) + k: ( + " ".join(v) + if isinstance(v, list) and k in ["first_name", "last_name"] + else v + ) for k, v in authn_response.ava.items() + if k + in [ + "first_name", + "last_name", + "phone", + "role", + "departments", + "studio_id", + "active", + ] } try: user = persons_service.get_person_by_email(email)