Skip to content

Commit 2e6c626

Browse files
authored
Fix typo (#449)
1 parent 40b16e8 commit 2e6c626

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

descope/management/sso_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def _compose_configure_saml_settings_body(
542542
"idpUrl": settings.idp_url,
543543
"entityId": settings.idp_entity_id,
544544
"idpCert": settings.idp_cert,
545-
"spAcsUrl": settings.sp_acs_url,
545+
"spACSUrl": settings.sp_acs_url,
546546
"spEntityId": settings.sp_entity_id,
547547
"attributeMapping": attr_mapping,
548548
"roleMappings": SSOSettings._role_mapping_to_dict(
@@ -570,7 +570,7 @@ def _compose_configure_saml_settings_by_metadata_body(
570570
"tenantId": tenant_id,
571571
"settings": {
572572
"idpMetadataUrl": settings.idp_metadata_url,
573-
"spAcsUrl": settings.sp_acs_url,
573+
"spACSUrl": settings.sp_acs_url,
574574
"spEntityId": settings.sp_entity_id,
575575
"attributeMapping": attr_mapping,
576576
"roleMappings": SSOSettings._role_mapping_to_dict(

tests/management/test_sso_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def test_configure_saml_settings(self):
291291
"customAttributes": None,
292292
},
293293
"roleMappings": [{"groups": ["grp1"], "roleName": "rl1"}],
294-
"spAcsUrl": "http://spacsurl.com",
294+
"spACSUrl": "http://spacsurl.com",
295295
"spEntityId": "spentityid",
296296
},
297297
"redirectUrl": "https://redirect.com",
@@ -371,7 +371,7 @@ def test_configure_saml_settings_by_metadata(self):
371371
"customAttributes": None,
372372
},
373373
"roleMappings": [{"groups": ["grp1"], "roleName": "rl1"}],
374-
"spAcsUrl": "http://spacsurl.com",
374+
"spACSUrl": "http://spacsurl.com",
375375
"spEntityId": "spentityid",
376376
},
377377
"redirectUrl": "https://redirect.com",

0 commit comments

Comments
 (0)