Skip to content

Commit bd99648

Browse files
committed
A sequence diagram for MIv1 token revocation
1 parent 7826ea8 commit bd99648

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

mi1_cae.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Token Revocation in Managed Identity V1, by using CAE
2+
3+
```mermaid
4+
sequenceDiagram
5+
autonumber
6+
title Token Revocation in Managed Identity V1, by using CAE
7+
participant App
8+
participant MIv1
9+
participant eSTS
10+
participant Resource
11+
12+
App-->>MIv1: Request token with declaration of supporting CAE (capability "cp1") <br>/token?...TBD
13+
MIv1-->>eSTS: Token request with the cp1 declaration<br>/token?...&claims={"access_token": {"xms_cc": {"values": ["cp1"]}}}
14+
eSTS-->>MIv1: CAE-capable token issued
15+
MIv1-->>App: CAE-capable token returned
16+
App-->>Resource: API request with token
17+
18+
note over Resource,eSTS: Token should work, initially. <br>Here we assume token got revoked.
19+
Resource->>App: HTTP 401 error with header WWW-Authenciate: ... claim={"access_token": {"nbf":{"essential":true, "value":"1563308371"}}}
20+
21+
App->>MIv1: Request token with declaration of supporting CAE (capability "cp1"), <br>supposedly with claim={"access_token": ...} too <br>/token?...TBD
22+
MIv1->>eSTS: Token request with the cp1 declaration, <br>supposedly combined with claims challenge<br>/token?...&claims={"access_token": {"xms_cc": {"values": ["cp1"]}, <br> {"nbf":{"essential":true, "value":"1563308371"}} }}
23+
eSTS->>MIv1: A new CAE-capable token issued
24+
MIv1->>App: The new CAE-capable token returned
25+
App->>Resource: API request with token
26+
Resource->>App: Access granted
27+
```

0 commit comments

Comments
 (0)