Skip to content

Commit a2f6c11

Browse files
author
Jonathan Pass
committed
Rearranged the Azure tenant info to keep the lines under 79 per the existing style guide.
1 parent db3a3a7 commit a2f6c11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

uw_saml2/idp/federated.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ class FredHutchIdp(IdpConfig):
101101

102102

103103
class FredHutchIdpAzure(IdpConfig):
104-
entity_id = 'https://sts.windows.net/0054a3ea-b394-418b-ad1a-174138231fd6/'
105-
sso_url = 'https://login.microsoftonline.com/0054a3ea-b394-418b-ad1a-174138231fd6/saml2'
104+
_azure_tenant_id = '0054a3ea-b394-418b-ad1a-174138231fd6'
105+
entity_id = f'https://sts.windows.net/{_azure_tenant_id}/'
106+
sso_url = f'https://login.microsoftonline.com/{_azure_tenant_id}/saml2'
106107
x509_cert = '''
107108
MIIC8DCCAdigAwIBAgIQGB680XRFNZhCkepWMRYORjANBgkqhkiG9w0BAQsFADA0
108109
MTIwMAYDVQQDEylNaWNyb3NvZnQgQXp1cmUgRmVkZXJhdGVkIFNTTyBDZXJ0aWZp

0 commit comments

Comments
 (0)