@startuml autonumber "[00]" actor User as u participant "Relying\nParty" as rp box "Dizme IDP" #LightBlue participant "Authorization\nEndpoint" as aidp participant "Token\nEndpoint" as tidp end box u -> rp : Request login rp -> aidp: Redirect to OIDC Provider (scope, resp_type, ...) aidp -> aidp: Maps scope to \nSSI proof request aidp -> u: Shows page with QR code with Proof Request u -> aidp: Scans QR code and provides Proof via SSI alt response_type code aidp -> rp: Redirect to Relying Party Callback with Authorization Code rp -> tidp: Exchange Authorization Code for User Claims tidp -> rp: User Claims else response_type token aidp -> rp: Redirect to Relying Party Callback with JWT Token with Claims end rp -> u: Login successful @enduml