[federation] please add a visual diagram

Issue #2002 resolved
Kristina Yasuda created an issue

the spec has become very huge and takes a lot of time to understand for newcomers. Please consider adding an ASCII diagram of the relationship between Entity Statements and Entity Configurations, Trust Chain and Trust Mark, Leaf Entity and Trust Anchor, etc. There is a lot of similar terminology and I often get confused. I try to go back to the “Overall architecture“ section, but it still takes me time to visualize and consume..

Comments (9)

  1. Michael Jones
    • changed status to open

    We discussed this on the 4-Aug-23 Federation Editors' call. We agree that additional diagrams could help reader comprehension.

    We could possibly whiteboard diagrams together at OSW later this month.

  2. Giuseppe De Marco
                                                                                                                      +---------------------------------------+      
                                                                                                                      |   TRUST CHAIN                         |      
                                                               +-----------------------------------+                  | +-----------------------------------+ |      
           +-------------------+                               |                                   |                  | |                                   | |      
           |                   |                               |    ENTITY CONFIGURATION           |                  | |   ENTITY STATEMENT                | |      
           |   TRUST ANCHOR    | .well-known/openid-federation |                                   | FETCH ENDPOINT   | |                                   | |      
           |                   |-------------------------------|    - FEDERATION ENTITY KEYS       |-------------------->   - FEDERATION ENTITY KEYS        | |      
           +---------^---------+                               |    - METADATA                     |                  | |   - METADATA POLICY               | |      
                     |                                         |    - CONSTRAINTS                  |                  | |   - METADATA                      | |      
                     |                                         |                                   |                  | |                                   | |      
                     |                                         +-----------------------------------+                  | +-----------------|-----------------+ |      
                     |                                                                                                |                   |                   |      
                     |                                                                                                |                   |                   |      
                     |                                         +-----------------------------------+                  | +-----------------v-----------------+ |      
                     |                                         |                                   |                  | |                                   | |      
           +---------v---------+                               |    ENTITY CONFIGURATION           |                  | |   ENTITY STATEMENT                | |      
           |                   | .well-known/openid-federation |                                   | FETCH ENDPOINT   | |                                   | |      
           |  INTERMEDIATE     |-------------------------------|    - FEDERATION ENTITY KEYS       |-------------------->   - FEDERATION ENTITY KEYS        | |      
           |                   |                               |    - METADATA                     |                  | |   - METADATA POLICY               | |      
           +---------^---------+                               |    - TRUST MARKS                  |                  | |   - METADATA                      | |      
                     |                                         |                                   |                  | |                                   | |      
                     |                                         +-----------------------------------+                  | +-----------------|-----------------+ |      
                     |                                                                                                |                   |                   |      
                     |                                                                                                |                   |                   |      
                     |                                                                                                | +-----------------------------------+ |      
                     |                                                                                                | |                                   | |      
                     |                                                                                                | |   ENTITY CONFIGURATION            | |      
                     |                                                                                                | |                                   | |      
           +---------v--------+                                                                                       | |   - FEDERATION ENTITY KEYS        | |      
           |                  | .well-known/openid-federation                                                         | |   - METADATA                      | |      
           |  LEAF            |---------------------------------------------------------------------------------------|>|   - TRUST MARKS                   | |      
           |                  |                                                                                       | |                                   | |      
           +------------------+                                                                                       | +-----------------------------------+ |      
                                                                                                                      +---------------------------------------+      
    

    just for fun

  3. Giuseppe De Marco

    @Kristina Yasuda
    Are the “drawing” I have shared in the previous comment or the sequence diagram that we already have in the specs, here, good enough?

    for the first one:
    we can improve it and then have it in a form of a PR, so please feel free to give your impressions/comment.

    for the second one:
    are you more interested instead in a diagram within the introductory section?
    or, differently, do you think that would be better to move the seq diagram we already have in the section 8.1 to the introductory sections?

  4. Kristina Yasuda reporter

    Hi Giuseppe, I think the visual above looks great. maybe add that leaf/intermediate/trust anchor on the left refers to their identifieres?

  5. Log in to comment