diff --git a/journal/2021-04-16--12-27-13Z--iroh_auth_presentation.org b/journal/2021-04-16--12-27-13Z--iroh_auth_presentation.org index fd2987ce..21c4262c 100644 --- a/journal/2021-04-16--12-27-13Z--iroh_auth_presentation.org +++ b/journal/2021-04-16--12-27-13Z--iroh_auth_presentation.org @@ -263,7 +263,11 @@ The =idp-mapping= contain: - The idp-id - The /User Identity Id/ (the user id in the IdP not in IROH) -We search the DB for matches: +We search for the user's email. +If we find multiple users with the same email, we add (if not already exists) +the idp-mapping to all thoses users. + +Then we search the DB for matches of the idp-mappings: 1. 0 occurence, this is a new unknown user