Skip to content

Commit

Permalink
Fix attributemap directory (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
amandahla authored Aug 31, 2023
1 parent eea3963 commit d6d68a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/synapse/workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _create_pysaml2_config(charm_state: CharmState) -> typing.Dict:
# dont send uid in SAMLResponse so this will map
# fullname to uid
if "ubuntu.com" in saml_config["metadata_url"]:
sp_config["attribute_map_dir"] = "/data/attributemaps"
sp_config["attribute_map_dir"] = "/usr/local/attributemaps"

return sp_config

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_synapse_workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_enable_saml_success():
}
},
"allow_unknown_attributes": True,
"attribute_map_dir": "/data/attributemaps",
"attribute_map_dir": "/usr/local/attributemaps",
},
"user_mapping_provider": {
"config": {
Expand Down

0 comments on commit d6d68a9

Please sign in to comment.