<mxfile host="app.diagrams.net"><diagram name="Step-up with Conditional Access authentication context" id="d1"><mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="1060" background="#FFFFFF" math="0" shadow="0"><root><mxCell id="0" /><mxCell id="1" parent="0" /><mxCell id="c2" value="" style="html=1;rounded=0;endArrow=none;endFill=1;startArrow=none;startFill=1;strokeColor=#A19F9D;strokeWidth=1.2;dashed=1;dashPattern=6 4;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1000.0" y="158.0" as="sourcePoint" /><mxPoint x="1000.0" y="915.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c3" value="" style="html=1;rounded=0;endArrow=none;endFill=1;startArrow=none;startFill=1;strokeColor=#A19F9D;strokeWidth=1.2;dashed=1;dashPattern=6 4;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="600.0" y="158.0" as="sourcePoint" /><mxPoint x="600.0" y="915.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c4" value="" style="html=1;rounded=0;endArrow=none;endFill=1;startArrow=none;startFill=1;strokeColor=#A19F9D;strokeWidth=1.2;dashed=1;dashPattern=6 4;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="200.0" y="158.0" as="sourcePoint" /><mxPoint x="200.0" y="915.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c5" value="&lt;b&gt;Step-up with Conditional Access authentication context&lt;/b&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=22;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="40.0" y="18.0" width="1120.0" height="30.0" as="geometry" /></mxCell><mxCell id="c6" value="&lt;span style=&quot;font-size:13.5px;color:#605E5C&quot;&gt;Stronger requirements only for the operations that need them&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=15;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="40.0" y="50.0" width="1120.0" height="22.0" as="geometry" /></mxCell><mxCell id="c7" value="" style="html=1;rounded=0;endArrow=none;endFill=1;startArrow=none;startFill=1;strokeColor=#0078D4;strokeWidth=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="40.0" y="82.0" as="sourcePoint" /><mxPoint x="1160.0" y="82.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c8" value="&lt;b&gt;Client app&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:12.5px;color:#605E5C&quot;&gt;MSAL&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=16;fillColor=#F3F2F1;strokeColor=#8A8886;strokeWidth=1.5;fontColor=#323130;fontSize=14;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=12;spacingRight=12;spacingTop=0;" vertex="1" parent="1"><mxGeometry x="60.0" y="100.0" width="280.0" height="58.0" as="geometry" /></mxCell><mxCell id="c9" value="&lt;b&gt;Microsoft Entra ID&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:12.5px;color:#605E5C&quot;&gt;+ Conditional Access&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=16;fillColor=#DEECF9;strokeColor=#0078D4;strokeWidth=1.5;fontColor=#323130;fontSize=14;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=12;spacingRight=12;spacingTop=0;" vertex="1" parent="1"><mxGeometry x="460.0" y="100.0" width="280.0" height="58.0" as="geometry" /></mxCell><mxCell id="c10" value="&lt;b&gt;Web API&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:12.5px;color:#605E5C&quot;&gt;critical operations mapped to c2&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=16;fillColor=#DFF6DD;strokeColor=#107C10;strokeWidth=1.5;fontColor=#323130;fontSize=14;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=12;spacingRight=12;spacingTop=0;" vertex="1" parent="1"><mxGeometry x="860.0" y="100.0" width="280.0" height="58.0" as="geometry" /></mxCell><mxCell id="c11" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="200.0" y="220.0" as="sourcePoint" /><mxPoint x="998.0" y="220.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c12" value="1" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="210.0" y="208.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c13" value="GET /orders&lt;br&gt;&lt;span style=&quot;font-size:11.0px&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Bearer &amp;lt;access token&amp;gt;&amp;nbsp;  acrs: (none)&lt;/font&gt;&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="472.2" y="173.6" width="255.6" height="36.4" as="geometry" /></mxCell><mxCell id="c14" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1000.0" y="295.0" as="sourcePoint" /><mxPoint x="202.0" y="295.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c15" value="2" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="966.0" y="283.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c16" value="200 OK&lt;br&gt;&lt;span style=&quot;font-size:11.0px;color:#605E5C&quot;&gt;standard operations: no extra prompt&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="482.1" y="248.6" width="235.8" height="36.4" as="geometry" /></mxCell><mxCell id="c17" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="200.0" y="375.0" as="sourcePoint" /><mxPoint x="998.0" y="375.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c18" value="3" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="210.0" y="363.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c19" value="POST /transfers/execute&lt;br&gt;&lt;span style=&quot;font-size:11.0px;color:#605E5C&quot;&gt;same access token&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="512.5" y="328.6" width="175.0" height="36.4" as="geometry" /></mxCell><mxCell id="c20" value="operation mapped to c2&lt;br&gt;→ acrs claim missing" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=16;fillColor=#FFF4CE;strokeColor=#986F0B;strokeWidth=1.5;fontColor=#323130;fontSize=12;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=12;spacingRight=12;spacingTop=0;" vertex="1" parent="1"><mxGeometry x="855.0" y="398.0" width="290.0" height="52.0" as="geometry" /></mxCell><mxCell id="c21" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1000.0" y="535.0" as="sourcePoint" /><mxPoint x="202.0" y="535.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c22" value="4" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="966.0" y="523.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c23" value="401 Unauthorized&lt;br&gt;&lt;span style=&quot;font-size:11.0px&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;WWW-Authenticate: Bearer error=&quot;insufficient_claims&quot;,&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.0px&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;claims={&quot;access_token&quot;:{&quot;acrs&quot;:{&quot;essential&quot;:true,&quot;value&quot;:&quot;c2&quot;}}}&lt;/font&gt;&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="378.3" y="473.4" width="443.4" height="51.6" as="geometry" /></mxCell><mxCell id="c24" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="200.0" y="615.0" as="sourcePoint" /><mxPoint x="598.0" y="615.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c25" value="5" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="210.0" y="603.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c26" value="GET /authorize … &amp;amp;claims=… (acrs = c2)" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="260.0" y="583.8" width="280.0" height="21.2" as="geometry" /></mxCell><mxCell id="c27" value="&lt;b&gt;Conditional Access policy targeting c2&lt;/b&gt;&lt;br&gt;→ require MFA → user completes MFA" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=16;fillColor=#EFE6F7;strokeColor=#8764B8;strokeWidth=1.5;fontColor=#323130;fontSize=12;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=12;spacingRight=12;spacingTop=0;" vertex="1" parent="1"><mxGeometry x="435.0" y="640.0" width="330.0" height="58.0" as="geometry" /></mxCell><mxCell id="c28" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="600.0" y="765.0" as="sourcePoint" /><mxPoint x="202.0" y="765.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c29" value="6" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="566.0" y="753.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c30" value="new access token&lt;br&gt;&lt;span style=&quot;font-size:11.0px&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;acrs: [&quot;c2&quot;]&lt;/font&gt;&lt;/span&gt;" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="337.0" y="718.6" width="126.0" height="36.4" as="geometry" /></mxCell><mxCell id="c31" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="200.0" y="835.0" as="sourcePoint" /><mxPoint x="998.0" y="835.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c32" value="7" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="210.0" y="823.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c33" value="POST /transfers/execute&amp;nbsp;  (new token)" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="463.5" y="803.8" width="273.0" height="21.2" as="geometry" /></mxCell><mxCell id="c34" value="" style="html=1;rounded=0;endArrow=block;endFill=1;startArrow=none;startFill=1;strokeColor=#323130;strokeWidth=1.6;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1000.0" y="900.0" as="sourcePoint" /><mxPoint x="202.0" y="900.0" as="targetPoint" /></mxGeometry></mxCell><mxCell id="c35" value="8" style="ellipse;whiteSpace=wrap;html=1;fillColor=#0078D4;strokeColor=#FFFFFF;strokeWidth=1.5;fontColor=#FFFFFF;fontStyle=1;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="1"><mxGeometry x="966.0" y="888.0" width="24.0" height="24.0" as="geometry" /></mxCell><mxCell id="c36" value="200 OK" style="text;html=1;strokeColor=none;fillColor=white;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12.5;fontColor=#323130;fontFamily=Helvetica;spacing=0;" vertex="1" parent="1"><mxGeometry x="572.0" y="868.8" width="56.0" height="21.2" as="geometry" /></mxCell><mxCell id="c37" value="&lt;b&gt;Caveat&lt;/b&gt;&lt;br&gt;The stepped-up token is a normal access token: further c2 calls during its lifetime won't prompt again.&lt;br&gt;Request c2 only when needed – never upfront at sign-in." style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=16;fillColor=#FDE7E9;strokeColor=#D13438;strokeWidth=1.5;fontColor=#323130;fontSize=13;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=12;spacingRight=12;spacingTop=0;" vertex="1" parent="1"><mxGeometry x="40.0" y="945.0" width="1120.0" height="95.0" as="geometry" /></mxCell></root></mxGraphModel></diagram></mxfile>