microsoft/teams.net

Public

mirrored from https://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
next/oauth-card-null-ref-bug

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/samples/PABot/Bots/not-working-sso-2.json

47lines · modecode

1{
2 "type": "message",
3 "channelId": "msteams",
4 "serviceUrl": "https://smba.trafficmanager.net/amer/3f3d1cea-7a18-41af-872b-cfbbd5140984/",
5 "from": {
6 "id": "28:0e95584e-c47b-4243-9073-7c9bf890e04e",
7 "name": "kavin-01"
8 },
9 "recipient": {
10 "id": "29:1MZX3EUlmSv_K_mgfehI7Xzhh4RXNf1hKlRAc7UEp_JhQOVOTXjNhky8-Xqly0SmFoVZ4Zar90hGk1wOMbxjrWA",
11 "name": "kavinsingh",
12 "aadObjectId": "a97f2770-b9c7-4371-85d7-49b0fddfbebc"
13 },
14 "conversation": {
15 "id": "a:14qv34G6WBRz7_5tPu2QNURrH0jKG1PK8Nqmu5PIoq_Yjgyyiyb4FsdxNyQjgc-d2o7gui_ZbmvSG0tupyyKL8Pc4tXqyq5RP_81ZegRjqij8TAv0ZYwldSrsEokunLZD",
16 "conversationType": "personal",
17 "tenantId": "3f3d1cea-7a18-41af-872b-cfbbd5140984"
18 },
19 "entities": [],
20 "attachments": [
21 {
22 "contentType": "application/vnd.microsoft.card.oauth",
23 "content": {
24 "text": "Please sign in to continue",
25 "connectionName": "graph-sso",
26 "tokenExchangeResource": {
27 "id": "0aba7f8d-19a9-46f0-8fe4-cc9e90bfeb7f",
28 "uri": "api://botid-0e95584e-c47b-4243-9073-7c9bf890e04e/",
29 "providerId": "30dd229c-58e3-4a48-bdfd-91ec48eb906c"
30 },
31 "tokenPostResource": {
32 "sasUrl": "https://token.botframework.com/api/sas/postToken?expiry=1775671399\u0026id=key1\u0026state=58b8af03d3a34ce491b6e480e7b6e972\u0026hmac=whrUqcr7yt1KWAewVap8Y2YtSNLgXykFWhLz32Vx5o8%3d"
33 },
34 "buttons": [
35 {
36 "type": "signin",
37 "title": "Sign in",
38 "text": "Please sign in to continue",
39 "value": "https://token.botframework.com/api/oauth/signin?signin=58b8af03d3a34ce491b6e480e7b6e972"
40 }
41 ]
42 }
43 }
44 ],
45 "replyToId": "1775671332799",
46 "inputHint": "acceptingInput"
47}