From 6501fc0cdf309d32421518ba37f16a2d9097d13a Mon Sep 17 00:00:00 2001 From: tiago-peres Date: Thu, 9 Feb 2023 12:41:24 +0000 Subject: [PATCH] add possibility to configure tenant id --- social_core/backends/azuread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/social_core/backends/azuread.py b/social_core/backends/azuread.py index 837d2c546..88f9778cf 100644 --- a/social_core/backends/azuread.py +++ b/social_core/backends/azuread.py @@ -64,7 +64,7 @@ def authority_host(self): @property def tenant_id(self): - return "common" + return self.setting("TENANT_ID", "common") @property def base_url(self):