From 3395d0edd5c308384b9f2bf3d1b9baecbc6581ae Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Fri, 16 Apr 2021 16:37:38 +0200 Subject: [PATCH] journal/2021-04-16--12-27-13Z--iroh_auth_presentation.org --- journal/2021-04-16--12-27-13Z--iroh_auth_presentation.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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