Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/src/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,8 @@ def get_user_record(comanage_id=None, oidcsub=None, force=False, service=SERVICE
# either force re-create user or
# this is a new user: set up the user and the index entry
user = {"study_authorizations": {}, "comanage_id": comanage_id}
if "study_authorizations" in response:
user["study_authorizations"] = response["study_authorizations"]

# set up identifiers
response = requests.get(f"{PCGL_API_URL}/registry/identifiers.json", params={"copersonid": comanage_id}, auth=(PCGL_CORE_API_USER, PCGL_CORE_API_KEY))
Expand Down