Skip to content

Commit 63f4324

Browse files
authored
corrected two whitespace mistakes
Removed extra whitespace. Moved prefix definitions up to a more comfortable spot.
1 parent 1018cbe commit 63f4324

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

uw_saml2/idp/federated.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,18 @@ class FredHutchAzureIdp(IdpConfig):
106106
acustomed to using ePPN
107107
"""
108108
_azure_tenant_id = '0054a3ea-b394-418b-ad1a-174138231fd6'
109-
110-
entity_id = f'https://sts.windows.net/{_azure_tenant_id}/'
111-
sso_url = f'https://login.microsoftonline.com/{_azure_tenant_id}/saml2'
112109
_attribute_prefix = 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims'
113110
_attribute_prefix2 = 'http://schemas.microsoft.com/identity/claims'
111+
112+
entity_id = f'https://sts.windows.net/{_azure_tenant_id}/'
113+
sso_url = f'https://login.microsoftonline.com/{_azure_tenant_id}/saml2'
114114
id_attribute = f'{_attribute_prefix}/employeeid'
115115
attribute_map = {
116116
f'{_attribute_prefix}/name': 'saml_unique_name',
117117
f'{_attribute_prefix2}/objectidentifier': 'saml_oid',
118118
f'{_attribute_prefix2}/displayname': 'saml_displayname',
119-
f'{_attribute_prefix2}/authnmethodsreferences':
120-
'saml_authncontextclassref'
119+
f'{_attribute_prefix2}/authnmethodsreferences':
120+
'saml_authncontextclassref'
121121
}
122122
x509_cert = '''
123123
MIIC8DCCAdigAwIBAgIQGB680XRFNZhCkepWMRYORjANBgkqhkiG9w0BAQsFADA0

0 commit comments

Comments
 (0)