Skip to content

Commit f0d45b7

Browse files
Danyal-Faheemnijel
authored andcommitted
fix: get tenant_name using self
1 parent 3ae54a3 commit f0d45b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

social_core/backends/azuread_b2c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class AzureADB2COAuth2(AzureADOAuth2):
6464

6565
@property
6666
def authority_host(self):
67-
return self.setting("AUTHORITY_HOST", f"{tenant_name}.b2clogin.com")
67+
return self.setting("AUTHORITY_HOST", f"{self.tenant_name}.b2clogin.com")
6868

6969
@property
7070
def tenant_name(self):

0 commit comments

Comments
 (0)