Skip to content

Commit

Permalink
Update TI-Messenger_OIDC_login.puml
Browse files Browse the repository at this point in the history
  • Loading branch information
gem-cp authored Nov 28, 2023
1 parent 1eae65d commit 1fca70e
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ activate app
app -> mc: Lade Matrix-Web-Client
activate mc
mc --> app: Webanwendung
group #LightGray <size:16>Matrix Protocol ... (Guest Account, Key exchange etc)</size>
group #LightGray <size:16>Matrix Protocol ... (Key exchange etc)</size>
app -> hs:""GET https://homeserver-tim.de/.well-known/matrix/client""
activate hs
activate pr
Expand All @@ -68,7 +68,7 @@ activate app
|||
opt #LightYellow <size:16>Registration</size>
app -> hs: POST https://client.homeserver-tim.de/_matrix/client/v3/register\n\
""{"initial_device_display_name":"TIM-Web-App: Firefox auf Windows"}""
""{"initial_device_display_name":"TIM-Web-App: Firefox auf Windows","refresh_token":true}""
hs --> app: 401 Unauthorized ""{"session":"...","flows":[""\n\
""{"stages":["m.login.recaptcha","m.login.terms","m.login.email.identity"]}],""\n\
"""params":{"m.login.recaptcha":{"public_key":"..."},""\n\
Expand All @@ -86,12 +86,11 @@ activate app
""client_id=example-client-id&""\n\
""redirect_uri=https%3A%2F%2Fclient.homeserver-tim.de%2F""\n\
""_synapse%2Fclient%2Foidc%2Fcallback&""\n\
""scope=openid+email""\n\
""scope=openid+urn:telematik:display_name+urn:telematik:given_name+urn:telematik:versicherter""\n\
""&state=example-state&nonce=example-nonce""\n\
""code_challenge=...&code_challenge_method=S256""\n\
""set-cookie: oidc_session=...; ...""\n\
""set-cookie: oidc_session_no_samesite=...; ...""\n\
""synapse-trace-id: 747f9ec899abf541""
""set-cookie: ...=...; ...""\n\
""...""
|||
pr -> idp: POST https://sektoraler-idp.de/par\n\
""Content-Type: application/x-www-form-urlencoded""\n\
Expand Down Expand Up @@ -129,7 +128,7 @@ activate app
end 'group
|||
app -> hs: GET https://client.homeserver-tim.de/_synapse/client/oidc/callback?code=example-auth-code&state=example-state\n\
""Cookie: oidc_session=...""
""Cookie: ...=...""
|||
hs -> idp: POST https://sektoraler-idp.de/token-endpoint\n\
""Content-Type: application/x-www-form-urlencoded""\n\
Expand Down

0 comments on commit 1fca70e

Please sign in to comment.