From 0ac5e7e5d087d8889e234522e082f83ff856ce51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20Marte=20Hjem=C3=A5s?= Date: Thu, 16 May 2024 09:24:35 +0200 Subject: [PATCH] ID-4195: oppdatert flytdiagram (#12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Randi Øyri --- README.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 71a1922..fbdfd13 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ E.g as listed in eidas-config/sp/sp.properties inside the docker container. TODO # Sequence diagrams +The background colors indicates namespace in the Cluster, red is eidas-namespace. ## Norwegian citizen ```mermaid sequenceDiagram @@ -77,16 +78,15 @@ autonumber ```mermaid sequenceDiagram autonumber - actor User as Utenlandsk bruker (Nettle) - participant SP as Norsk tjeneste + actor User as Foreign user (browser) + participant SP as Norwegian service box lightyellow ID-porten participant IL as idporten-login participant C2ID as Connect2id end box lightpink idporten-eidas - participant EL as eidas-idporten-connector + participant EC as eidas-idporten-connector participant NEC as eidas-connector - participant FRGW as F-REG gateway end participant FR as Folkeregisteret @@ -95,20 +95,21 @@ autonumber User->>SP: Request Access SP->>IL: OIDC (acr: eidas-loa-x) - IL->>EL: OIDC - rect lightblue - EL->>FRGW: Hent persondata - FRGW->>FR: Hent persondata - end - EL->>EL: map to LightProtocol request - EL->>NEC: LightProtocol request + IL->>EC: OIDC + + EC->>EC: map to LightProtocol request + EC->>NEC: LightProtocol request NEC->>UPS: SAML2 - UPS->>IDP: autentiser + UPS->>IDP: authenticate IDP-->> UPS: LightProtocol response UPS-->>NEC: SAML2 - NEC-->>EL: LightProtocol response - EL-->>IL: token response - Note over IL,C2ID: sesjonshåndering + NEC-->>EC: LightProtocol response + rect lightblue + EC->>FRGW: match identity + FRGW->>FR: match identity + end + EC-->>IL: token response + Note over IL,C2ID: session handling IL-->>SP: Access Granted SP->>User: Access Granted -``` \ No newline at end of file +```