Skip to content

Commit

Permalink
Added comment explaining backend behaviour when bceid user guid not f…
Browse files Browse the repository at this point in the history
…ound.
  • Loading branch information
jgstorey committed Nov 3, 2023
1 parent bb942a0 commit 5e05045
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/components/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ async function getUserInfo(req, res) {
return res.status(HttpStatus.OK).json(resData)
}
} else {
// BCeID user
// This is a BCeID user: if the userGuid cannot be found in dyanmics, then dyanmics will check if the userName exists,
// if userName exists but has a null userGuid, the system will update the user record with the GUID and return that user profile.
log.verbose('BCEID User guid: ' + userGuid + ' username: ' + userName)
userResponse = await getUserProfile(userGuid, userName)
}
Expand Down

0 comments on commit 5e05045

Please sign in to comment.