@datalayer/agent-runtimes 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/examples/pap/PapTraceView.d.ts +2 -0
- package/lib/examples/pap/PapTraceView.js +3 -1
- package/lib/examples/pap/traces/account-tokens.json +88 -825
- package/lib/examples/pap/traces/conversation-control.json +45 -131
- package/lib/examples/pap/traces/conversation-streaming.json +27 -127
- package/lib/examples/pap/traces/mediated-sign-in.json +22 -122
- package/lib/examples/pap/traces/operations.json +65 -412
- package/lib/examples/pap/traces/two-companies.json +233 -720
- package/lib/examples/pap/traces/user-with-a-company.json +95 -532
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"title": "Account Tokens",
|
|
4
4
|
"description": "Refresh, rotation, narrowing, re-consent, and revocation of the Account Token Atlas holds for Ada at Manzanita, which never leaves the host's vault.",
|
|
5
5
|
"generator": "examples/personal-agent-protocol/traces/generate.py",
|
|
6
|
+
"sdk": "personal-agent-protocol 0.16.0",
|
|
6
7
|
"parties": [
|
|
7
8
|
{
|
|
8
9
|
"id": "user",
|
|
@@ -96,6 +97,9 @@
|
|
|
96
97
|
},
|
|
97
98
|
"auth": {
|
|
98
99
|
"issuer": "https://manzanita.example",
|
|
100
|
+
"direct": {
|
|
101
|
+
"scopes": ["orders:read", "orders:write"]
|
|
102
|
+
},
|
|
99
103
|
"device": {
|
|
100
104
|
"scopes": ["orders:read", "orders:write"]
|
|
101
105
|
},
|
|
@@ -128,6 +132,21 @@
|
|
|
128
132
|
}
|
|
129
133
|
]
|
|
130
134
|
},
|
|
135
|
+
"apis": [
|
|
136
|
+
{
|
|
137
|
+
"type": "openapi",
|
|
138
|
+
"url": "https://manzanita.example/api/openapi.json",
|
|
139
|
+
"description": "Orders and exchanges"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "mcp",
|
|
143
|
+
"url": "https://manzanita.example/mcp",
|
|
144
|
+
"description": "Orders and exchanges, as MCP tools"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"web": {
|
|
148
|
+
"browser_session_endpoint": "https://manzanita.example/poppy/browser-session"
|
|
149
|
+
},
|
|
131
150
|
"extensions": {
|
|
132
151
|
"operations": {
|
|
133
152
|
"version": "1",
|
|
@@ -159,7 +178,9 @@
|
|
|
159
178
|
"revocation_endpoint": "https://manzanita.example/oauth/revoke",
|
|
160
179
|
"poppy_domains": ["manzanita.example"],
|
|
161
180
|
"dpop_signing_alg_values_supported": ["ES256", "RS256"],
|
|
162
|
-
"device_1": "https://manzanita.example/oauth/device"
|
|
181
|
+
"device_1": "https://manzanita.example/oauth/device",
|
|
182
|
+
"authorization_endpoint": "https://manzanita.example/oauth/authorize",
|
|
183
|
+
"code_challenge_methods_supported": ["S256"]
|
|
163
184
|
}
|
|
164
185
|
}
|
|
165
186
|
},
|
|
@@ -230,127 +251,6 @@
|
|
|
230
251
|
}
|
|
231
252
|
}
|
|
232
253
|
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "http",
|
|
235
|
-
"from": "manzanita",
|
|
236
|
-
"to": "atlas",
|
|
237
|
-
"method": "GET",
|
|
238
|
-
"url": "https://atlas.example/agent.json",
|
|
239
|
-
"status": 200,
|
|
240
|
-
"request": {
|
|
241
|
-
"headers": {
|
|
242
|
-
"accept": "application/json"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"response": {
|
|
246
|
-
"headers": {
|
|
247
|
-
"content-type": "application/json"
|
|
248
|
-
},
|
|
249
|
-
"body": {
|
|
250
|
-
"client_id": "https://atlas.example/agent.json",
|
|
251
|
-
"client_name": "Atlas",
|
|
252
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
253
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
254
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
255
|
-
"extensions": {
|
|
256
|
-
"operations": {
|
|
257
|
-
"version": "1"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"kind": "http",
|
|
265
|
-
"from": "manzanita",
|
|
266
|
-
"to": "atlas",
|
|
267
|
-
"method": "GET",
|
|
268
|
-
"url": "https://atlas.example/jwks.json",
|
|
269
|
-
"status": 200,
|
|
270
|
-
"request": {
|
|
271
|
-
"headers": {
|
|
272
|
-
"accept": "application/json"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"response": {
|
|
276
|
-
"headers": {
|
|
277
|
-
"content-type": "application/json"
|
|
278
|
-
},
|
|
279
|
-
"body": {
|
|
280
|
-
"keys": [
|
|
281
|
-
{
|
|
282
|
-
"kty": "EC",
|
|
283
|
-
"crv": "P-256",
|
|
284
|
-
"x": "‹public key›",
|
|
285
|
-
"y": "‹public key›",
|
|
286
|
-
"kid": "key-1",
|
|
287
|
-
"use": "sig",
|
|
288
|
-
"alg": "ES256"
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"kind": "http",
|
|
296
|
-
"from": "manzanita",
|
|
297
|
-
"to": "atlas",
|
|
298
|
-
"method": "GET",
|
|
299
|
-
"url": "https://atlas.example/agent.json",
|
|
300
|
-
"status": 200,
|
|
301
|
-
"request": {
|
|
302
|
-
"headers": {
|
|
303
|
-
"accept": "application/json"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"response": {
|
|
307
|
-
"headers": {
|
|
308
|
-
"content-type": "application/json"
|
|
309
|
-
},
|
|
310
|
-
"body": {
|
|
311
|
-
"client_id": "https://atlas.example/agent.json",
|
|
312
|
-
"client_name": "Atlas",
|
|
313
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
314
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
315
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
316
|
-
"extensions": {
|
|
317
|
-
"operations": {
|
|
318
|
-
"version": "1"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"kind": "http",
|
|
326
|
-
"from": "manzanita",
|
|
327
|
-
"to": "atlas",
|
|
328
|
-
"method": "GET",
|
|
329
|
-
"url": "https://atlas.example/agent.json",
|
|
330
|
-
"status": 200,
|
|
331
|
-
"request": {
|
|
332
|
-
"headers": {
|
|
333
|
-
"accept": "application/json"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"response": {
|
|
337
|
-
"headers": {
|
|
338
|
-
"content-type": "application/json"
|
|
339
|
-
},
|
|
340
|
-
"body": {
|
|
341
|
-
"client_id": "https://atlas.example/agent.json",
|
|
342
|
-
"client_name": "Atlas",
|
|
343
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
344
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
345
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
346
|
-
"extensions": {
|
|
347
|
-
"operations": {
|
|
348
|
-
"version": "1"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
254
|
{
|
|
355
255
|
"kind": "http",
|
|
356
256
|
"from": "manzanita",
|
|
@@ -485,94 +385,42 @@
|
|
|
485
385
|
},
|
|
486
386
|
{
|
|
487
387
|
"kind": "http",
|
|
488
|
-
"from": "
|
|
489
|
-
"to": "
|
|
490
|
-
"method": "
|
|
491
|
-
"url": "https://
|
|
492
|
-
"status":
|
|
388
|
+
"from": "atlas",
|
|
389
|
+
"to": "manzanita",
|
|
390
|
+
"method": "POST",
|
|
391
|
+
"url": "https://manzanita.example/oauth/token",
|
|
392
|
+
"status": 400,
|
|
493
393
|
"request": {
|
|
494
394
|
"headers": {
|
|
495
|
-
"
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
"response": {
|
|
499
|
-
"headers": {
|
|
500
|
-
"content-type": "application/json"
|
|
395
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
396
|
+
"accept": "application/json",
|
|
397
|
+
"dpop": "‹DPoP proof›"
|
|
501
398
|
},
|
|
502
399
|
"body": {
|
|
400
|
+
"grant_type": "urn:ietf:params:oauth:grant-type:device_code",
|
|
401
|
+
"device_code": "‹device code›",
|
|
402
|
+
"session_id": "ses_1",
|
|
503
403
|
"client_id": "https://atlas.example/agent.json",
|
|
504
|
-
"
|
|
505
|
-
"
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
"extensions": {
|
|
509
|
-
"operations": {
|
|
510
|
-
"version": "1"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"kind": "http",
|
|
518
|
-
"from": "manzanita",
|
|
519
|
-
"to": "atlas",
|
|
520
|
-
"method": "GET",
|
|
521
|
-
"url": "https://atlas.example/agent.json",
|
|
522
|
-
"status": 200,
|
|
523
|
-
"request": {
|
|
524
|
-
"headers": {
|
|
525
|
-
"accept": "application/json"
|
|
526
|
-
}
|
|
404
|
+
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
|
|
405
|
+
"client_assertion": "‹client assertion›"
|
|
406
|
+
},
|
|
407
|
+
"encoding": "form"
|
|
527
408
|
},
|
|
528
409
|
"response": {
|
|
529
410
|
"headers": {
|
|
530
|
-
"content-type": "application/json"
|
|
411
|
+
"content-type": "application/json",
|
|
412
|
+
"cache-control": "no-store"
|
|
531
413
|
},
|
|
532
414
|
"body": {
|
|
533
|
-
"
|
|
534
|
-
"client_name": "Atlas",
|
|
535
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
536
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
537
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
538
|
-
"extensions": {
|
|
539
|
-
"operations": {
|
|
540
|
-
"version": "1"
|
|
541
|
-
}
|
|
542
|
-
}
|
|
415
|
+
"error": "authorization_pending"
|
|
543
416
|
}
|
|
544
417
|
}
|
|
545
418
|
},
|
|
546
419
|
{
|
|
547
|
-
"kind": "
|
|
548
|
-
"from": "
|
|
549
|
-
"to": "
|
|
550
|
-
"
|
|
551
|
-
"url": "https://atlas.example/jwks.json",
|
|
552
|
-
"status": 200,
|
|
553
|
-
"request": {
|
|
554
|
-
"headers": {
|
|
555
|
-
"accept": "application/json"
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
"response": {
|
|
559
|
-
"headers": {
|
|
560
|
-
"content-type": "application/json"
|
|
561
|
-
},
|
|
562
|
-
"body": {
|
|
563
|
-
"keys": [
|
|
564
|
-
{
|
|
565
|
-
"kty": "EC",
|
|
566
|
-
"crv": "P-256",
|
|
567
|
-
"x": "‹public key›",
|
|
568
|
-
"y": "‹public key›",
|
|
569
|
-
"kid": "key-1",
|
|
570
|
-
"use": "sig",
|
|
571
|
-
"alg": "ES256"
|
|
572
|
-
}
|
|
573
|
-
]
|
|
574
|
-
}
|
|
575
|
-
}
|
|
420
|
+
"kind": "action",
|
|
421
|
+
"from": "user",
|
|
422
|
+
"to": "manzanita",
|
|
423
|
+
"label": "Signs in on manzanita.example/device, enters the code, approves Atlas"
|
|
576
424
|
},
|
|
577
425
|
{
|
|
578
426
|
"kind": "http",
|
|
@@ -580,7 +428,7 @@
|
|
|
580
428
|
"to": "manzanita",
|
|
581
429
|
"method": "POST",
|
|
582
430
|
"url": "https://manzanita.example/oauth/token",
|
|
583
|
-
"status":
|
|
431
|
+
"status": 200,
|
|
584
432
|
"request": {
|
|
585
433
|
"headers": {
|
|
586
434
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -603,244 +451,23 @@
|
|
|
603
451
|
"cache-control": "no-store"
|
|
604
452
|
},
|
|
605
453
|
"body": {
|
|
606
|
-
"
|
|
454
|
+
"access_token": "‹session token›",
|
|
455
|
+
"token_type": "DPoP",
|
|
456
|
+
"expires_in": 3590,
|
|
457
|
+
"scope": "orders:read orders:write",
|
|
458
|
+
"session_id": "ses_1",
|
|
459
|
+
"signed_in": true,
|
|
460
|
+
"refresh_token": "‹account token›"
|
|
607
461
|
}
|
|
608
462
|
}
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
"request": {
|
|
618
|
-
"headers": {
|
|
619
|
-
"accept": "application/json"
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
"response": {
|
|
623
|
-
"headers": {
|
|
624
|
-
"content-type": "application/json"
|
|
625
|
-
},
|
|
626
|
-
"body": {
|
|
627
|
-
"client_id": "https://atlas.example/agent.json",
|
|
628
|
-
"client_name": "Atlas",
|
|
629
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
630
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
631
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
632
|
-
"extensions": {
|
|
633
|
-
"operations": {
|
|
634
|
-
"version": "1"
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"kind": "http",
|
|
642
|
-
"from": "manzanita",
|
|
643
|
-
"to": "atlas",
|
|
644
|
-
"method": "GET",
|
|
645
|
-
"url": "https://atlas.example/agent.json",
|
|
646
|
-
"status": 200,
|
|
647
|
-
"request": {
|
|
648
|
-
"headers": {
|
|
649
|
-
"accept": "application/json"
|
|
650
|
-
}
|
|
651
|
-
},
|
|
652
|
-
"response": {
|
|
653
|
-
"headers": {
|
|
654
|
-
"content-type": "application/json"
|
|
655
|
-
},
|
|
656
|
-
"body": {
|
|
657
|
-
"client_id": "https://atlas.example/agent.json",
|
|
658
|
-
"client_name": "Atlas",
|
|
659
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
660
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
661
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
662
|
-
"extensions": {
|
|
663
|
-
"operations": {
|
|
664
|
-
"version": "1"
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"kind": "http",
|
|
672
|
-
"from": "manzanita",
|
|
673
|
-
"to": "atlas",
|
|
674
|
-
"method": "GET",
|
|
675
|
-
"url": "https://atlas.example/jwks.json",
|
|
676
|
-
"status": 200,
|
|
677
|
-
"request": {
|
|
678
|
-
"headers": {
|
|
679
|
-
"accept": "application/json"
|
|
680
|
-
}
|
|
681
|
-
},
|
|
682
|
-
"response": {
|
|
683
|
-
"headers": {
|
|
684
|
-
"content-type": "application/json"
|
|
685
|
-
},
|
|
686
|
-
"body": {
|
|
687
|
-
"keys": [
|
|
688
|
-
{
|
|
689
|
-
"kty": "EC",
|
|
690
|
-
"crv": "P-256",
|
|
691
|
-
"x": "‹public key›",
|
|
692
|
-
"y": "‹public key›",
|
|
693
|
-
"kid": "key-1",
|
|
694
|
-
"use": "sig",
|
|
695
|
-
"alg": "ES256"
|
|
696
|
-
}
|
|
697
|
-
]
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"kind": "action",
|
|
703
|
-
"from": "user",
|
|
704
|
-
"to": "manzanita",
|
|
705
|
-
"label": "Signs in on manzanita.example/device, enters the code, approves Atlas"
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"kind": "http",
|
|
709
|
-
"from": "atlas",
|
|
710
|
-
"to": "manzanita",
|
|
711
|
-
"method": "POST",
|
|
712
|
-
"url": "https://manzanita.example/oauth/token",
|
|
713
|
-
"status": 200,
|
|
714
|
-
"request": {
|
|
715
|
-
"headers": {
|
|
716
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
717
|
-
"accept": "application/json",
|
|
718
|
-
"dpop": "‹DPoP proof›"
|
|
719
|
-
},
|
|
720
|
-
"body": {
|
|
721
|
-
"grant_type": "urn:ietf:params:oauth:grant-type:device_code",
|
|
722
|
-
"device_code": "‹device code›",
|
|
723
|
-
"session_id": "ses_1",
|
|
724
|
-
"client_id": "https://atlas.example/agent.json",
|
|
725
|
-
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
|
|
726
|
-
"client_assertion": "‹client assertion›"
|
|
727
|
-
},
|
|
728
|
-
"encoding": "form"
|
|
729
|
-
},
|
|
730
|
-
"response": {
|
|
731
|
-
"headers": {
|
|
732
|
-
"content-type": "application/json",
|
|
733
|
-
"cache-control": "no-store"
|
|
734
|
-
},
|
|
735
|
-
"body": {
|
|
736
|
-
"access_token": "‹session token›",
|
|
737
|
-
"token_type": "DPoP",
|
|
738
|
-
"expires_in": 3590,
|
|
739
|
-
"scope": "orders:read orders:write",
|
|
740
|
-
"session_id": "ses_1",
|
|
741
|
-
"signed_in": true,
|
|
742
|
-
"refresh_token": "‹account token›"
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"kind": "http",
|
|
748
|
-
"from": "manzanita",
|
|
749
|
-
"to": "atlas",
|
|
750
|
-
"method": "GET",
|
|
751
|
-
"url": "https://atlas.example/agent.json",
|
|
752
|
-
"status": 200,
|
|
753
|
-
"request": {
|
|
754
|
-
"headers": {
|
|
755
|
-
"accept": "application/json"
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
"response": {
|
|
759
|
-
"headers": {
|
|
760
|
-
"content-type": "application/json"
|
|
761
|
-
},
|
|
762
|
-
"body": {
|
|
763
|
-
"client_id": "https://atlas.example/agent.json",
|
|
764
|
-
"client_name": "Atlas",
|
|
765
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
766
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
767
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
768
|
-
"extensions": {
|
|
769
|
-
"operations": {
|
|
770
|
-
"version": "1"
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"kind": "http",
|
|
778
|
-
"from": "manzanita",
|
|
779
|
-
"to": "atlas",
|
|
780
|
-
"method": "GET",
|
|
781
|
-
"url": "https://atlas.example/agent.json",
|
|
782
|
-
"status": 200,
|
|
783
|
-
"request": {
|
|
784
|
-
"headers": {
|
|
785
|
-
"accept": "application/json"
|
|
786
|
-
}
|
|
787
|
-
},
|
|
788
|
-
"response": {
|
|
789
|
-
"headers": {
|
|
790
|
-
"content-type": "application/json"
|
|
791
|
-
},
|
|
792
|
-
"body": {
|
|
793
|
-
"client_id": "https://atlas.example/agent.json",
|
|
794
|
-
"client_name": "Atlas",
|
|
795
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
796
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
797
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
798
|
-
"extensions": {
|
|
799
|
-
"operations": {
|
|
800
|
-
"version": "1"
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"kind": "http",
|
|
808
|
-
"from": "manzanita",
|
|
809
|
-
"to": "atlas",
|
|
810
|
-
"method": "GET",
|
|
811
|
-
"url": "https://atlas.example/jwks.json",
|
|
812
|
-
"status": 200,
|
|
813
|
-
"request": {
|
|
814
|
-
"headers": {
|
|
815
|
-
"accept": "application/json"
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
"response": {
|
|
819
|
-
"headers": {
|
|
820
|
-
"content-type": "application/json"
|
|
821
|
-
},
|
|
822
|
-
"body": {
|
|
823
|
-
"keys": [
|
|
824
|
-
{
|
|
825
|
-
"kty": "EC",
|
|
826
|
-
"crv": "P-256",
|
|
827
|
-
"x": "‹public key›",
|
|
828
|
-
"y": "‹public key›",
|
|
829
|
-
"kid": "key-1",
|
|
830
|
-
"use": "sig",
|
|
831
|
-
"alg": "ES256"
|
|
832
|
-
}
|
|
833
|
-
]
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
]
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"title": "Refresh and rotation",
|
|
841
|
-
"channel": "refresh_token grant",
|
|
842
|
-
"summary": "The Session expired; Atlas signs it in again with the Account Token, a fresh client assertion, and a fresh DPoP proof. Manzanita rotates the token; the new one replaces the old before the call returns (rotated: True).",
|
|
843
|
-
"chat": [
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"title": "Refresh and rotation",
|
|
468
|
+
"channel": "refresh_token grant",
|
|
469
|
+
"summary": "The Session expired; Atlas signs it in again with the Account Token, a fresh client assertion, and a fresh DPoP proof. Manzanita rotates the token; the new one replaces the old before the call returns (rotated: True).",
|
|
470
|
+
"chat": [
|
|
844
471
|
{
|
|
845
472
|
"speaker": "atlas",
|
|
846
473
|
"kind": "message",
|
|
@@ -932,97 +559,6 @@
|
|
|
932
559
|
"refresh_token": "‹account token›"
|
|
933
560
|
}
|
|
934
561
|
}
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
"kind": "http",
|
|
938
|
-
"from": "manzanita",
|
|
939
|
-
"to": "atlas",
|
|
940
|
-
"method": "GET",
|
|
941
|
-
"url": "https://atlas.example/agent.json",
|
|
942
|
-
"status": 200,
|
|
943
|
-
"request": {
|
|
944
|
-
"headers": {
|
|
945
|
-
"accept": "application/json"
|
|
946
|
-
}
|
|
947
|
-
},
|
|
948
|
-
"response": {
|
|
949
|
-
"headers": {
|
|
950
|
-
"content-type": "application/json"
|
|
951
|
-
},
|
|
952
|
-
"body": {
|
|
953
|
-
"client_id": "https://atlas.example/agent.json",
|
|
954
|
-
"client_name": "Atlas",
|
|
955
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
956
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
957
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
958
|
-
"extensions": {
|
|
959
|
-
"operations": {
|
|
960
|
-
"version": "1"
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
"kind": "http",
|
|
968
|
-
"from": "manzanita",
|
|
969
|
-
"to": "atlas",
|
|
970
|
-
"method": "GET",
|
|
971
|
-
"url": "https://atlas.example/agent.json",
|
|
972
|
-
"status": 200,
|
|
973
|
-
"request": {
|
|
974
|
-
"headers": {
|
|
975
|
-
"accept": "application/json"
|
|
976
|
-
}
|
|
977
|
-
},
|
|
978
|
-
"response": {
|
|
979
|
-
"headers": {
|
|
980
|
-
"content-type": "application/json"
|
|
981
|
-
},
|
|
982
|
-
"body": {
|
|
983
|
-
"client_id": "https://atlas.example/agent.json",
|
|
984
|
-
"client_name": "Atlas",
|
|
985
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
986
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
987
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
988
|
-
"extensions": {
|
|
989
|
-
"operations": {
|
|
990
|
-
"version": "1"
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"kind": "http",
|
|
998
|
-
"from": "manzanita",
|
|
999
|
-
"to": "atlas",
|
|
1000
|
-
"method": "GET",
|
|
1001
|
-
"url": "https://atlas.example/jwks.json",
|
|
1002
|
-
"status": 200,
|
|
1003
|
-
"request": {
|
|
1004
|
-
"headers": {
|
|
1005
|
-
"accept": "application/json"
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
"response": {
|
|
1009
|
-
"headers": {
|
|
1010
|
-
"content-type": "application/json"
|
|
1011
|
-
},
|
|
1012
|
-
"body": {
|
|
1013
|
-
"keys": [
|
|
1014
|
-
{
|
|
1015
|
-
"kty": "EC",
|
|
1016
|
-
"crv": "P-256",
|
|
1017
|
-
"x": "‹public key›",
|
|
1018
|
-
"y": "‹public key›",
|
|
1019
|
-
"kid": "key-1",
|
|
1020
|
-
"use": "sig",
|
|
1021
|
-
"alg": "ES256"
|
|
1022
|
-
}
|
|
1023
|
-
]
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
562
|
}
|
|
1027
563
|
]
|
|
1028
564
|
},
|
|
@@ -1079,139 +615,48 @@
|
|
|
1079
615
|
},
|
|
1080
616
|
{
|
|
1081
617
|
"label": "Account Tokens issued",
|
|
1082
|
-
"value": "3 · 1 not revoked"
|
|
1083
|
-
}
|
|
1084
|
-
]
|
|
1085
|
-
},
|
|
1086
|
-
"sequence": [
|
|
1087
|
-
{
|
|
1088
|
-
"kind": "http",
|
|
1089
|
-
"from": "atlas",
|
|
1090
|
-
"to": "manzanita",
|
|
1091
|
-
"method": "POST",
|
|
1092
|
-
"url": "https://manzanita.example/oauth/token",
|
|
1093
|
-
"status": 200,
|
|
1094
|
-
"request": {
|
|
1095
|
-
"headers": {
|
|
1096
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1097
|
-
"accept": "application/json",
|
|
1098
|
-
"dpop": "‹DPoP proof›"
|
|
1099
|
-
},
|
|
1100
|
-
"body": {
|
|
1101
|
-
"grant_type": "refresh_token",
|
|
1102
|
-
"refresh_token": "‹account token›",
|
|
1103
|
-
"session_id": "ses_1",
|
|
1104
|
-
"client_id": "https://atlas.example/agent.json",
|
|
1105
|
-
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
|
|
1106
|
-
"client_assertion": "‹client assertion›",
|
|
1107
|
-
"scope": "orders:read"
|
|
1108
|
-
},
|
|
1109
|
-
"encoding": "form"
|
|
1110
|
-
},
|
|
1111
|
-
"response": {
|
|
1112
|
-
"headers": {
|
|
1113
|
-
"content-type": "application/json",
|
|
1114
|
-
"cache-control": "no-store"
|
|
1115
|
-
},
|
|
1116
|
-
"body": {
|
|
1117
|
-
"access_token": "‹session token›",
|
|
1118
|
-
"token_type": "DPoP",
|
|
1119
|
-
"expires_in": 3600,
|
|
1120
|
-
"scope": "orders:read",
|
|
1121
|
-
"session_id": "ses_1",
|
|
1122
|
-
"signed_in": true,
|
|
1123
|
-
"refresh_token": "‹account token›"
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"kind": "http",
|
|
1129
|
-
"from": "manzanita",
|
|
1130
|
-
"to": "atlas",
|
|
1131
|
-
"method": "GET",
|
|
1132
|
-
"url": "https://atlas.example/agent.json",
|
|
1133
|
-
"status": 200,
|
|
1134
|
-
"request": {
|
|
1135
|
-
"headers": {
|
|
1136
|
-
"accept": "application/json"
|
|
1137
|
-
}
|
|
1138
|
-
},
|
|
1139
|
-
"response": {
|
|
1140
|
-
"headers": {
|
|
1141
|
-
"content-type": "application/json"
|
|
1142
|
-
},
|
|
1143
|
-
"body": {
|
|
1144
|
-
"client_id": "https://atlas.example/agent.json",
|
|
1145
|
-
"client_name": "Atlas",
|
|
1146
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
1147
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
1148
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
1149
|
-
"extensions": {
|
|
1150
|
-
"operations": {
|
|
1151
|
-
"version": "1"
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
618
|
+
"value": "3 · 1 not revoked"
|
|
1155
619
|
}
|
|
1156
|
-
|
|
620
|
+
]
|
|
621
|
+
},
|
|
622
|
+
"sequence": [
|
|
1157
623
|
{
|
|
1158
624
|
"kind": "http",
|
|
1159
|
-
"from": "
|
|
1160
|
-
"to": "
|
|
1161
|
-
"method": "
|
|
1162
|
-
"url": "https://
|
|
625
|
+
"from": "atlas",
|
|
626
|
+
"to": "manzanita",
|
|
627
|
+
"method": "POST",
|
|
628
|
+
"url": "https://manzanita.example/oauth/token",
|
|
1163
629
|
"status": 200,
|
|
1164
630
|
"request": {
|
|
1165
631
|
"headers": {
|
|
1166
|
-
"
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
"response": {
|
|
1170
|
-
"headers": {
|
|
1171
|
-
"content-type": "application/json"
|
|
632
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
633
|
+
"accept": "application/json",
|
|
634
|
+
"dpop": "‹DPoP proof›"
|
|
1172
635
|
},
|
|
1173
636
|
"body": {
|
|
637
|
+
"grant_type": "refresh_token",
|
|
638
|
+
"refresh_token": "‹account token›",
|
|
639
|
+
"session_id": "ses_1",
|
|
1174
640
|
"client_id": "https://atlas.example/agent.json",
|
|
1175
|
-
"
|
|
1176
|
-
"
|
|
1177
|
-
"
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
"operations": {
|
|
1181
|
-
"version": "1"
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
},
|
|
1187
|
-
{
|
|
1188
|
-
"kind": "http",
|
|
1189
|
-
"from": "manzanita",
|
|
1190
|
-
"to": "atlas",
|
|
1191
|
-
"method": "GET",
|
|
1192
|
-
"url": "https://atlas.example/jwks.json",
|
|
1193
|
-
"status": 200,
|
|
1194
|
-
"request": {
|
|
1195
|
-
"headers": {
|
|
1196
|
-
"accept": "application/json"
|
|
1197
|
-
}
|
|
641
|
+
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
|
|
642
|
+
"client_assertion": "‹client assertion›",
|
|
643
|
+
"scope": "orders:read"
|
|
644
|
+
},
|
|
645
|
+
"encoding": "form"
|
|
1198
646
|
},
|
|
1199
647
|
"response": {
|
|
1200
648
|
"headers": {
|
|
1201
|
-
"content-type": "application/json"
|
|
649
|
+
"content-type": "application/json",
|
|
650
|
+
"cache-control": "no-store"
|
|
1202
651
|
},
|
|
1203
652
|
"body": {
|
|
1204
|
-
"
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
"use": "sig",
|
|
1212
|
-
"alg": "ES256"
|
|
1213
|
-
}
|
|
1214
|
-
]
|
|
653
|
+
"access_token": "‹session token›",
|
|
654
|
+
"token_type": "DPoP",
|
|
655
|
+
"expires_in": 3600,
|
|
656
|
+
"scope": "orders:read",
|
|
657
|
+
"session_id": "ses_1",
|
|
658
|
+
"signed_in": true,
|
|
659
|
+
"refresh_token": "‹account token›"
|
|
1215
660
|
}
|
|
1216
661
|
}
|
|
1217
662
|
},
|
|
@@ -1248,97 +693,6 @@
|
|
|
1248
693
|
"error": "invalid_scope"
|
|
1249
694
|
}
|
|
1250
695
|
}
|
|
1251
|
-
},
|
|
1252
|
-
{
|
|
1253
|
-
"kind": "http",
|
|
1254
|
-
"from": "manzanita",
|
|
1255
|
-
"to": "atlas",
|
|
1256
|
-
"method": "GET",
|
|
1257
|
-
"url": "https://atlas.example/agent.json",
|
|
1258
|
-
"status": 200,
|
|
1259
|
-
"request": {
|
|
1260
|
-
"headers": {
|
|
1261
|
-
"accept": "application/json"
|
|
1262
|
-
}
|
|
1263
|
-
},
|
|
1264
|
-
"response": {
|
|
1265
|
-
"headers": {
|
|
1266
|
-
"content-type": "application/json"
|
|
1267
|
-
},
|
|
1268
|
-
"body": {
|
|
1269
|
-
"client_id": "https://atlas.example/agent.json",
|
|
1270
|
-
"client_name": "Atlas",
|
|
1271
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
1272
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
1273
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
1274
|
-
"extensions": {
|
|
1275
|
-
"operations": {
|
|
1276
|
-
"version": "1"
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
"kind": "http",
|
|
1284
|
-
"from": "manzanita",
|
|
1285
|
-
"to": "atlas",
|
|
1286
|
-
"method": "GET",
|
|
1287
|
-
"url": "https://atlas.example/agent.json",
|
|
1288
|
-
"status": 200,
|
|
1289
|
-
"request": {
|
|
1290
|
-
"headers": {
|
|
1291
|
-
"accept": "application/json"
|
|
1292
|
-
}
|
|
1293
|
-
},
|
|
1294
|
-
"response": {
|
|
1295
|
-
"headers": {
|
|
1296
|
-
"content-type": "application/json"
|
|
1297
|
-
},
|
|
1298
|
-
"body": {
|
|
1299
|
-
"client_id": "https://atlas.example/agent.json",
|
|
1300
|
-
"client_name": "Atlas",
|
|
1301
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
1302
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
1303
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
1304
|
-
"extensions": {
|
|
1305
|
-
"operations": {
|
|
1306
|
-
"version": "1"
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
"kind": "http",
|
|
1314
|
-
"from": "manzanita",
|
|
1315
|
-
"to": "atlas",
|
|
1316
|
-
"method": "GET",
|
|
1317
|
-
"url": "https://atlas.example/jwks.json",
|
|
1318
|
-
"status": 200,
|
|
1319
|
-
"request": {
|
|
1320
|
-
"headers": {
|
|
1321
|
-
"accept": "application/json"
|
|
1322
|
-
}
|
|
1323
|
-
},
|
|
1324
|
-
"response": {
|
|
1325
|
-
"headers": {
|
|
1326
|
-
"content-type": "application/json"
|
|
1327
|
-
},
|
|
1328
|
-
"body": {
|
|
1329
|
-
"keys": [
|
|
1330
|
-
{
|
|
1331
|
-
"kty": "EC",
|
|
1332
|
-
"crv": "P-256",
|
|
1333
|
-
"x": "‹public key›",
|
|
1334
|
-
"y": "‹public key›",
|
|
1335
|
-
"kid": "key-1",
|
|
1336
|
-
"use": "sig",
|
|
1337
|
-
"alg": "ES256"
|
|
1338
|
-
}
|
|
1339
|
-
]
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
696
|
}
|
|
1343
697
|
]
|
|
1344
698
|
},
|
|
@@ -1427,97 +781,6 @@
|
|
|
1427
781
|
},
|
|
1428
782
|
"body": {}
|
|
1429
783
|
}
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"kind": "http",
|
|
1433
|
-
"from": "manzanita",
|
|
1434
|
-
"to": "atlas",
|
|
1435
|
-
"method": "GET",
|
|
1436
|
-
"url": "https://atlas.example/agent.json",
|
|
1437
|
-
"status": 200,
|
|
1438
|
-
"request": {
|
|
1439
|
-
"headers": {
|
|
1440
|
-
"accept": "application/json"
|
|
1441
|
-
}
|
|
1442
|
-
},
|
|
1443
|
-
"response": {
|
|
1444
|
-
"headers": {
|
|
1445
|
-
"content-type": "application/json"
|
|
1446
|
-
},
|
|
1447
|
-
"body": {
|
|
1448
|
-
"client_id": "https://atlas.example/agent.json",
|
|
1449
|
-
"client_name": "Atlas",
|
|
1450
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
1451
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
1452
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
1453
|
-
"extensions": {
|
|
1454
|
-
"operations": {
|
|
1455
|
-
"version": "1"
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
|
-
{
|
|
1462
|
-
"kind": "http",
|
|
1463
|
-
"from": "manzanita",
|
|
1464
|
-
"to": "atlas",
|
|
1465
|
-
"method": "GET",
|
|
1466
|
-
"url": "https://atlas.example/agent.json",
|
|
1467
|
-
"status": 200,
|
|
1468
|
-
"request": {
|
|
1469
|
-
"headers": {
|
|
1470
|
-
"accept": "application/json"
|
|
1471
|
-
}
|
|
1472
|
-
},
|
|
1473
|
-
"response": {
|
|
1474
|
-
"headers": {
|
|
1475
|
-
"content-type": "application/json"
|
|
1476
|
-
},
|
|
1477
|
-
"body": {
|
|
1478
|
-
"client_id": "https://atlas.example/agent.json",
|
|
1479
|
-
"client_name": "Atlas",
|
|
1480
|
-
"jwks_uri": "https://atlas.example/jwks.json",
|
|
1481
|
-
"redirect_uris": ["https://atlas.example/oauth/callback"],
|
|
1482
|
-
"token_endpoint_auth_method": "private_key_jwt",
|
|
1483
|
-
"extensions": {
|
|
1484
|
-
"operations": {
|
|
1485
|
-
"version": "1"
|
|
1486
|
-
}
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"kind": "http",
|
|
1493
|
-
"from": "manzanita",
|
|
1494
|
-
"to": "atlas",
|
|
1495
|
-
"method": "GET",
|
|
1496
|
-
"url": "https://atlas.example/jwks.json",
|
|
1497
|
-
"status": 200,
|
|
1498
|
-
"request": {
|
|
1499
|
-
"headers": {
|
|
1500
|
-
"accept": "application/json"
|
|
1501
|
-
}
|
|
1502
|
-
},
|
|
1503
|
-
"response": {
|
|
1504
|
-
"headers": {
|
|
1505
|
-
"content-type": "application/json"
|
|
1506
|
-
},
|
|
1507
|
-
"body": {
|
|
1508
|
-
"keys": [
|
|
1509
|
-
{
|
|
1510
|
-
"kty": "EC",
|
|
1511
|
-
"crv": "P-256",
|
|
1512
|
-
"x": "‹public key›",
|
|
1513
|
-
"y": "‹public key›",
|
|
1514
|
-
"kid": "key-1",
|
|
1515
|
-
"use": "sig",
|
|
1516
|
-
"alg": "ES256"
|
|
1517
|
-
}
|
|
1518
|
-
]
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
784
|
}
|
|
1522
785
|
]
|
|
1523
786
|
}
|