From 267735dc5e33a2b6b0502f449c9c68a1d4f35af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 28 Jun 2022 13:47:21 +0200 Subject: [PATCH] oidc: Remove groups attribute It leads to crash with Django. This reverts a tiny portion of #669. Fixes #690 --- social_core/backends/open_id_connect.py | 1 - 1 file changed, 1 deletion(-) diff --git a/social_core/backends/open_id_connect.py b/social_core/backends/open_id_connect.py index 512850e5..5fdbff95 100644 --- a/social_core/backends/open_id_connect.py +++ b/social_core/backends/open_id_connect.py @@ -248,5 +248,4 @@ def get_user_details(self, response): 'fullname': response.get('name'), 'first_name': response.get('given_name'), 'last_name': response.get('family_name'), - 'groups': response.get('groups'), # not standardized but widely implemented }