@microsoft/teamsfx-core 2.0.14-rc.1 → 2.0.15-alpha.0b985f7da.0
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/build/common/featureFlags.d.ts +0 -31
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +2 -34
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/projectTypeChecker.d.ts +1 -0
- package/build/common/projectTypeChecker.d.ts.map +1 -1
- package/build/common/projectTypeChecker.js +6 -1
- package/build/common/projectTypeChecker.js.map +1 -1
- package/build/common/secretmasker/masker.d.ts +1 -1
- package/build/common/secretmasker/masker.d.ts.map +1 -1
- package/build/common/secretmasker/masker.js +2 -2
- package/build/common/secretmasker/masker.js.map +1 -1
- package/build/common/stringUtils.js +1 -1
- package/build/common/stringUtils.js.map +1 -1
- package/build/common/templates-config.json +1 -1
- package/build/component/configManager/actionInjector.d.ts +1 -1
- package/build/component/configManager/actionInjector.d.ts.map +1 -1
- package/build/component/configManager/actionInjector.js +17 -8
- package/build/component/configManager/actionInjector.js.map +1 -1
- package/build/component/configManager/validator.d.ts.map +1 -1
- package/build/component/configManager/validator.js +11 -1
- package/build/component/configManager/validator.js.map +1 -1
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +18 -4
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/driver/aad/update.d.ts.map +1 -1
- package/build/component/driver/aad/update.js +31 -12
- package/build/component/driver/aad/update.js.map +1 -1
- package/build/component/driver/aad/utility/aadAppClient.d.ts +1 -1
- package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
- package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
- package/build/component/driver/aad/utility/aadManifestHelper.d.ts +8 -3
- package/build/component/driver/aad/utility/aadManifestHelper.d.ts.map +1 -1
- package/build/component/driver/aad/utility/aadManifestHelper.js +109 -16
- package/build/component/driver/aad/utility/aadManifestHelper.js.map +1 -1
- package/build/component/driver/aad/utility/buildAadManifest.d.ts +2 -1
- package/build/component/driver/aad/utility/buildAadManifest.d.ts.map +1 -1
- package/build/component/driver/aad/utility/buildAadManifest.js.map +1 -1
- package/build/component/driver/add/utility/constants.d.ts +1 -1
- package/build/component/driver/add/utility/constants.d.ts.map +1 -1
- package/build/component/driver/add/utility/constants.js +1 -1
- package/build/component/driver/add/utility/constants.js.map +1 -1
- package/build/component/driver/apiKey/utility/utility.d.ts.map +1 -1
- package/build/component/driver/apiKey/utility/utility.js +4 -3
- package/build/component/driver/apiKey/utility/utility.js.map +1 -1
- package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
- package/build/component/driver/devTool/installDriver.js +26 -21
- package/build/component/driver/devTool/installDriver.js.map +1 -1
- package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts +1 -0
- package/build/component/driver/devTool/interfaces/InstallToolArgs.d.ts.map +1 -1
- package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts +0 -1
- package/build/component/driver/file/createOrUpdateEnvironmentFile.d.ts.map +1 -1
- package/build/component/driver/file/createOrUpdateEnvironmentFile.js +12 -7
- package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
- package/build/component/driver/script/scriptDriver.d.ts +0 -1
- package/build/component/driver/script/scriptDriver.d.ts.map +1 -1
- package/build/component/driver/script/scriptDriver.js +23 -15
- package/build/component/driver/script/scriptDriver.js.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js +14 -4
- package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/teamsappMgr.d.ts.map +1 -1
- package/build/component/driver/teamsApp/teamsappMgr.js +2 -0
- package/build/component/driver/teamsApp/teamsappMgr.js.map +1 -1
- package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js +2 -0
- package/build/component/driver/teamsApp/utils/CopilotGptManifestUtils.js.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +1 -0
- package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.js +12 -0
- package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
- package/build/component/driver/teamsApp/validate.js +4 -4
- package/build/component/driver/teamsApp/validate.js.map +1 -1
- package/build/component/generator/apiSpec/generator.d.ts.map +1 -1
- package/build/component/generator/apiSpec/generator.js +72 -28
- package/build/component/generator/apiSpec/generator.js.map +1 -1
- package/build/component/generator/apiSpec/helper.d.ts +4 -2
- package/build/component/generator/apiSpec/helper.d.ts.map +1 -1
- package/build/component/generator/apiSpec/helper.js +143 -33
- package/build/component/generator/apiSpec/helper.js.map +1 -1
- package/build/component/generator/copilotExtension/generator.d.ts.map +1 -1
- package/build/component/generator/copilotExtension/generator.js +4 -5
- package/build/component/generator/copilotExtension/generator.js.map +1 -1
- package/build/component/generator/generator.d.ts +2 -2
- package/build/component/generator/generator.d.ts.map +1 -1
- package/build/component/generator/generator.js +25 -13
- package/build/component/generator/generator.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts +3 -5
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +28 -103
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/spfx/utils/constants.d.ts +1 -1
- package/build/component/generator/spfx/utils/constants.d.ts.map +1 -1
- package/build/component/generator/spfx/utils/constants.js +1 -1
- package/build/component/generator/spfx/utils/constants.js.map +1 -1
- package/build/component/generator/templates/ssrTabGenerator.d.ts.map +1 -1
- package/build/component/generator/templates/ssrTabGenerator.js +7 -3
- package/build/component/generator/templates/ssrTabGenerator.js.map +1 -1
- package/build/component/generator/templates/templateNames.d.ts +0 -5
- package/build/component/generator/templates/templateNames.d.ts.map +1 -1
- package/build/component/generator/templates/templateNames.js +2 -47
- package/build/component/generator/templates/templateNames.js.map +1 -1
- package/build/component/generator/utils.d.ts.map +1 -1
- package/build/component/generator/utils.js +8 -1
- package/build/component/generator/utils.js.map +1 -1
- package/build/component/m365/launchHelper.d.ts.map +1 -1
- package/build/component/m365/launchHelper.js +1 -0
- package/build/component/m365/launchHelper.js.map +1 -1
- package/build/component/m365/packageService.d.ts +9 -1
- package/build/component/m365/packageService.d.ts.map +1 -1
- package/build/component/m365/packageService.js +144 -5
- package/build/component/m365/packageService.js.map +1 -1
- package/build/component/provisionUtils.d.ts.map +1 -1
- package/build/component/provisionUtils.js +2 -1
- package/build/component/provisionUtils.js.map +1 -1
- package/build/component/utils/envFunctionUtils.d.ts.map +1 -1
- package/build/component/utils/envFunctionUtils.js +0 -4
- package/build/component/utils/envFunctionUtils.js.map +1 -1
- package/build/component/utils/pathUtils.d.ts +1 -0
- package/build/component/utils/pathUtils.d.ts.map +1 -1
- package/build/component/utils/pathUtils.js +7 -0
- package/build/component/utils/pathUtils.js.map +1 -1
- package/build/core/FxCore.d.ts +10 -0
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +210 -38
- package/build/core/FxCore.js.map +1 -1
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +5 -2
- package/build/core/collaborator.js.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -3
- package/build/index.js.map +1 -1
- package/build/question/constants.d.ts +13 -11
- package/build/question/constants.d.ts.map +1 -1
- package/build/question/constants.js +59 -129
- package/build/question/constants.js.map +1 -1
- package/build/question/create.d.ts +1 -11
- package/build/question/create.d.ts.map +1 -1
- package/build/question/create.js +49 -134
- package/build/question/create.js.map +1 -1
- package/build/question/generator.js +2 -0
- package/build/question/generator.js.map +1 -1
- package/build/question/index.d.ts +3 -0
- package/build/question/index.d.ts.map +1 -1
- package/build/question/index.js +9 -0
- package/build/question/index.js.map +1 -1
- package/build/question/inputs/AddAuthActionInputs.d.ts +20 -0
- package/build/question/inputs/AddAuthActionInputs.d.ts.map +1 -0
- package/build/question/inputs/AddAuthActionInputs.js +5 -0
- package/build/question/inputs/AddAuthActionInputs.js.map +1 -0
- package/build/question/inputs/AddPluginInputs.d.ts +1 -1
- package/build/question/inputs/AddPluginInputs.d.ts.map +1 -1
- package/build/question/inputs/CreateProjectInputs.d.ts +4 -6
- package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
- package/build/question/inputs/index.d.ts +1 -0
- package/build/question/inputs/index.d.ts.map +1 -1
- package/build/question/inputs/index.js +1 -0
- package/build/question/inputs/index.js.map +1 -1
- package/build/question/options/AddAuthActionOptions.d.ts +10 -0
- package/build/question/options/AddAuthActionOptions.d.ts.map +1 -0
- package/build/question/options/AddAuthActionOptions.js +39 -0
- package/build/question/options/AddAuthActionOptions.js.map +1 -0
- package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
- package/build/question/options/CreateProjectOptions.js +2 -10
- package/build/question/options/CreateProjectOptions.js.map +1 -1
- package/build/question/options/index.d.ts +1 -0
- package/build/question/options/index.d.ts.map +1 -1
- package/build/question/options/index.js +1 -0
- package/build/question/options/index.js.map +1 -1
- package/build/question/other.d.ts +7 -1
- package/build/question/other.d.ts.map +1 -1
- package/build/question/other.js +147 -1
- package/build/question/other.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/resource/package.nls.cs.json +543 -263
- package/resource/package.nls.de.json +531 -251
- package/resource/package.nls.es.json +543 -263
- package/resource/package.nls.fr.json +557 -277
- package/resource/package.nls.it.json +546 -266
- package/resource/package.nls.ja.json +536 -256
- package/resource/package.nls.json +48 -42
- package/resource/package.nls.ko.json +532 -252
- package/resource/package.nls.pl.json +539 -259
- package/resource/package.nls.pt-BR.json +555 -275
- package/resource/package.nls.ru.json +547 -267
- package/resource/package.nls.tr.json +541 -261
- package/resource/package.nls.zh-Hans.json +528 -248
- package/resource/package.nls.zh-Hant.json +539 -259
- package/resource/yaml-schema/v1.8/yaml.schema.json +1858 -0
- package/resource/yaml-schema/yaml.schema.json +5 -1
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/python.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/templates/plugins/resource/aad/auth/V3/Enable SSO.txt +2 -2
- package/templates/plugins/resource/aad/auth/V3/aad.manifest.template.json +87 -77
- package/templates/plugins/resource/aad/auth/bot/js/public/auth-end.html +2 -2
- package/templates/plugins/resource/aad/auth/bot/ts/public/auth-end.html +2 -2
- package/templates/plugins/resource/aad/auth/tab/js/public/auth-end.html +2 -2
- package/templates/plugins/resource/aad/auth/tab/js/public/auth-start.html +2 -2
- package/templates/plugins/resource/aad/auth/tab/ts/public/auth-end.html +2 -2
- package/templates/plugins/resource/aad/auth/tab/ts/public/auth-start.html +2 -2
- package/templates/plugins/resource/aad/manifest/aad.template.json +109 -97
- package/templates/plugins/resource/aad/manifest/bot/aad.manifest.template.json +90 -81
- package/templates/plugins/resource/aad/manifest/tab/aad.manifest.template.json +93 -89
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"version": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"description": "The version of the yaml file schema",
|
|
17
|
-
"const": "v1.
|
|
17
|
+
"const": "v1.8"
|
|
18
18
|
},
|
|
19
19
|
"additionalMetadata": {
|
|
20
20
|
"type": "object",
|
|
@@ -1304,6 +1304,10 @@
|
|
|
1304
1304
|
"symlinkDir": {
|
|
1305
1305
|
"type": "string",
|
|
1306
1306
|
"description": "The path of the symlink target for the folder containing Teams App Test Tool binaries."
|
|
1307
|
+
},
|
|
1308
|
+
"releaseType": {
|
|
1309
|
+
"type": "string",
|
|
1310
|
+
"description": "The release type of Teams App Test Tool: binary or npm. Default to 'npm'."
|
|
1307
1311
|
}
|
|
1308
1312
|
}
|
|
1309
1313
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -11,6 +11,6 @@ Basically, you will need to take care of these configurations:
|
|
|
11
11
|
* In the Teams manifest file, add the SSO application to link it with Teams application.
|
|
12
12
|
* Add SSO application information in Teams Toolkit configuration files in order to make sure the authentication app can be registered on backend service and started by Teams Toolkit when you debugging or previewing Teams application.
|
|
13
13
|
|
|
14
|
-
Refer to the step-by-step guide for Teams Tab Application at https://aka.ms/
|
|
15
|
-
Refer to the step-by-step guide for Teams Bot Applications at https://aka.ms/
|
|
14
|
+
Refer to the step-by-step guide for Teams Tab Application at https://aka.ms/teamsfx-add-sso-vs-new-schema#for-teams-tab-application.
|
|
15
|
+
Refer to the step-by-step guide for Teams Bot Applications at https://aka.ms/teamsfx-add-sso-vs-new-schema#for-teams-bot-applications. This guide use Command and Response bot as an example to show case how to enable SSO.
|
|
16
16
|
|
|
@@ -1,102 +1,112 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "${{AAD_APP_OBJECT_ID}}",
|
|
3
3
|
"appId": "${{AAD_APP_CLIENT_ID}}",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
4
|
+
"displayName": "YOUR_AAD_APP_NAME",
|
|
5
|
+
"identifierUris": [],
|
|
6
6
|
"signInAudience": "AzureADMyOrg",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
"name": "idtyp",
|
|
12
|
-
"source": null,
|
|
13
|
-
"essential": false,
|
|
14
|
-
"additionalProperties": []
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"saml2Token": []
|
|
18
|
-
},
|
|
19
|
-
"requiredResourceAccess": [
|
|
20
|
-
{
|
|
21
|
-
"resourceAppId": "Microsoft Graph",
|
|
22
|
-
"resourceAccess": [
|
|
23
|
-
{
|
|
24
|
-
"id": "User.Read",
|
|
25
|
-
"type": "Scope"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"oauth2Permissions": [
|
|
7
|
+
"api": {
|
|
8
|
+
"requestedAccessTokenVersion": 2,
|
|
9
|
+
"oauth2PermissionScopes": [
|
|
31
10
|
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
"adminConsentDescription": "Allows Teams to call the app's web APIs as the current user.",
|
|
12
|
+
"adminConsentDisplayName": "Teams can access app's web APIs",
|
|
13
|
+
"id": "${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}",
|
|
14
|
+
"isEnabled": true,
|
|
15
|
+
"type": "User",
|
|
16
|
+
"userConsentDescription": "Enable Teams to call this app's web APIs with the same rights that you have",
|
|
17
|
+
"userConsentDisplayName": "Teams can access app's web APIs and make requests on your behalf",
|
|
18
|
+
"value": "access_as_user"
|
|
40
19
|
}
|
|
41
|
-
|
|
42
|
-
|
|
20
|
+
],
|
|
21
|
+
"preAuthorizedApplications": [
|
|
43
22
|
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
23
|
+
"appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
|
|
24
|
+
"delegatedPermissionIds": [
|
|
25
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
26
|
+
]
|
|
48
27
|
},
|
|
49
28
|
{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
29
|
+
"appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
|
|
30
|
+
"delegatedPermissionIds": [
|
|
31
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
32
|
+
]
|
|
54
33
|
},
|
|
55
34
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
35
|
+
"appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
|
|
36
|
+
"delegatedPermissionIds": [
|
|
37
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
38
|
+
]
|
|
60
39
|
},
|
|
61
40
|
{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
41
|
+
"appId": "00000002-0000-0ff1-ce00-000000000000",
|
|
42
|
+
"delegatedPermissionIds": [
|
|
43
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
44
|
+
]
|
|
66
45
|
},
|
|
67
46
|
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
47
|
+
"appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
|
|
48
|
+
"delegatedPermissionIds": [
|
|
49
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
50
|
+
]
|
|
72
51
|
},
|
|
73
52
|
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
53
|
+
"appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
|
|
54
|
+
"delegatedPermissionIds": [
|
|
55
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
56
|
+
]
|
|
78
57
|
},
|
|
79
58
|
{
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
59
|
+
"appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
|
|
60
|
+
"delegatedPermissionIds": [
|
|
61
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
62
|
+
]
|
|
84
63
|
},
|
|
85
64
|
{
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
65
|
+
"appId": "4345a7b9-9a63-4910-a426-35363201d503",
|
|
66
|
+
"delegatedPermissionIds": [
|
|
67
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
68
|
+
]
|
|
90
69
|
},
|
|
91
70
|
{
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
71
|
+
"appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
|
|
72
|
+
"delegatedPermissionIds": [
|
|
73
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
74
|
+
]
|
|
96
75
|
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"info": {},
|
|
79
|
+
"optionalClaims": {
|
|
80
|
+
"idToken": [],
|
|
81
|
+
"accessToken": [
|
|
82
|
+
{
|
|
83
|
+
"name": "idtyp",
|
|
84
|
+
"source": null,
|
|
85
|
+
"essential": false,
|
|
86
|
+
"additionalProperties": []
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"saml2Token": []
|
|
90
|
+
},
|
|
91
|
+
"publicClient": {
|
|
92
|
+
"redirectUris": []
|
|
93
|
+
},
|
|
94
|
+
"requiredResourceAccess": [
|
|
95
|
+
{
|
|
96
|
+
"resourceAppId": "Microsoft Graph",
|
|
97
|
+
"resourceAccess": [
|
|
98
|
+
{
|
|
99
|
+
"id": "User.Read",
|
|
100
|
+
"type": "Scope"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
97
104
|
],
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
105
|
+
"web": {
|
|
106
|
+
"redirectUris": [],
|
|
107
|
+
"implicitGrantSettings": {}
|
|
108
|
+
},
|
|
109
|
+
"spa": {
|
|
110
|
+
"redirectUris": []
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
<body>
|
|
11
11
|
<script
|
|
12
|
-
src="https://res.cdn.office.net/teams-js/2.
|
|
13
|
-
integrity="sha384-
|
|
12
|
+
src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
|
|
13
|
+
integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
|
|
14
14
|
crossorigin="anonymous"
|
|
15
15
|
></script>
|
|
16
16
|
<div id="divError"></div>
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
<body>
|
|
11
11
|
<script
|
|
12
|
-
src="https://res.cdn.office.net/teams-js/2.
|
|
13
|
-
integrity="sha384-
|
|
12
|
+
src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
|
|
13
|
+
integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
|
|
14
14
|
crossorigin="anonymous"
|
|
15
15
|
></script>
|
|
16
16
|
<div id="divError"></div>
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
<body>
|
|
10
10
|
<script
|
|
11
|
-
src="https://res.cdn.office.net/teams-js/2.
|
|
12
|
-
integrity="sha384-
|
|
11
|
+
src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
|
|
12
|
+
integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
|
|
13
13
|
crossorigin="anonymous"
|
|
14
14
|
></script>
|
|
15
15
|
<script
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
<body>
|
|
10
10
|
<script
|
|
11
|
-
src="https://res.cdn.office.net/teams-js/2.
|
|
12
|
-
integrity="sha384-
|
|
11
|
+
src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
|
|
12
|
+
integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
|
|
13
13
|
crossorigin="anonymous"
|
|
14
14
|
></script>
|
|
15
15
|
<script
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
<body>
|
|
10
10
|
<script
|
|
11
|
-
src="https://res.cdn.office.net/teams-js/2.
|
|
12
|
-
integrity="sha384-
|
|
11
|
+
src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
|
|
12
|
+
integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
|
|
13
13
|
crossorigin="anonymous"
|
|
14
14
|
></script>
|
|
15
15
|
<script
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
<body>
|
|
10
10
|
<script
|
|
11
|
-
src="https://res.cdn.office.net/teams-js/2.
|
|
12
|
-
integrity="sha384-
|
|
11
|
+
src="https://res.cdn.office.net/teams-js/2.31.1/js/MicrosoftTeams.min.js"
|
|
12
|
+
integrity="sha384-ihAqYgEJz9hzEU+HaYodG1aTzjebC/wKXQi1nWKZG7OLAUyOL9ZrzD/SfZu79Jeu"
|
|
13
13
|
crossorigin="anonymous"
|
|
14
14
|
></script>
|
|
15
15
|
<script
|
|
@@ -1,102 +1,114 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"resourceAccess": [
|
|
23
|
-
{
|
|
24
|
-
"id": "User.Read",
|
|
25
|
-
"type": "Scope"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"oauth2Permissions": [
|
|
31
|
-
{
|
|
32
|
-
"adminConsentDescription": "Allows Teams to call the app's web APIs as the current user.",
|
|
33
|
-
"adminConsentDisplayName": "Teams can access app's web APIs",
|
|
34
|
-
"id": "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}",
|
|
35
|
-
"isEnabled": true,
|
|
36
|
-
"type": "User",
|
|
37
|
-
"userConsentDescription": "Enable Teams to call this app's web APIs with the same rights that you have",
|
|
38
|
-
"userConsentDisplayName": "Teams can access app's web APIs and make requests on your behalf",
|
|
39
|
-
"value": "access_as_user"
|
|
40
|
-
}
|
|
2
|
+
"id": "{{state.fx-resource-aad-app-for-teams.objectId}}",
|
|
3
|
+
"appId": "{{state.fx-resource-aad-app-for-teams.clientId}}",
|
|
4
|
+
"displayName": "{{config.manifest.appName.short}}-aad",
|
|
5
|
+
"identifierUris": [
|
|
6
|
+
"{{state.fx-resource-aad-app-for-teams.applicationIdUris}}"
|
|
7
|
+
],
|
|
8
|
+
"signInAudience": "AzureADMyOrg",
|
|
9
|
+
"api": {
|
|
10
|
+
"requestedAccessTokenVersion": 2,
|
|
11
|
+
"oauth2PermissionScopes": [
|
|
12
|
+
{
|
|
13
|
+
"adminConsentDescription": "Allows Teams to call the app's web APIs as the current user.",
|
|
14
|
+
"adminConsentDisplayName": "Teams can access app's web APIs",
|
|
15
|
+
"id": "{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}",
|
|
16
|
+
"isEnabled": true,
|
|
17
|
+
"type": "User",
|
|
18
|
+
"userConsentDescription": "Enable Teams to call this app's web APIs with the same rights that you have",
|
|
19
|
+
"userConsentDisplayName": "Teams can access app's web APIs and make requests on your behalf",
|
|
20
|
+
"value": "access_as_user"
|
|
21
|
+
}
|
|
41
22
|
],
|
|
42
23
|
"preAuthorizedApplications": [
|
|
24
|
+
{
|
|
25
|
+
"appId": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
|
|
26
|
+
"delegatedPermissionIds": [
|
|
27
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
|
|
32
|
+
"delegatedPermissionIds": [
|
|
33
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
|
|
38
|
+
"delegatedPermissionIds": [
|
|
39
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"appId": "00000002-0000-0ff1-ce00-000000000000",
|
|
44
|
+
"delegatedPermissionIds": [
|
|
45
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
|
|
50
|
+
"delegatedPermissionIds": [
|
|
51
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
|
|
56
|
+
"delegatedPermissionIds": [
|
|
57
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
|
|
62
|
+
"delegatedPermissionIds": [
|
|
63
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"appId": "4345a7b9-9a63-4910-a426-35363201d503",
|
|
68
|
+
"delegatedPermissionIds": [
|
|
69
|
+
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
|
|
74
|
+
"delegatedPermissionIds": [
|
|
75
|
+
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"info": {},
|
|
81
|
+
"optionalClaims": {
|
|
82
|
+
"idToken": [],
|
|
83
|
+
"accessToken": [
|
|
84
|
+
{
|
|
85
|
+
"name": "idtyp",
|
|
86
|
+
"source": null,
|
|
87
|
+
"essential": false,
|
|
88
|
+
"additionalProperties": []
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"saml2Token": []
|
|
92
|
+
},
|
|
93
|
+
"publicClient": {
|
|
94
|
+
"redirectUris": []
|
|
95
|
+
},
|
|
96
|
+
"requiredResourceAccess": [
|
|
97
|
+
{
|
|
98
|
+
"resourceAppId": "Microsoft Graph",
|
|
99
|
+
"resourceAccess": [
|
|
43
100
|
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"appId": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
|
|
51
|
-
"permissionIds": [
|
|
52
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"appId": "d3590ed6-52b3-4102-aeff-aad2292ab01c",
|
|
57
|
-
"permissionIds": [
|
|
58
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"appId": "00000002-0000-0ff1-ce00-000000000000",
|
|
63
|
-
"permissionIds": [
|
|
64
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"appId": "bc59ab01-8403-45c6-8796-ac3ef710b3e3",
|
|
69
|
-
"permissionIds": [
|
|
70
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"appId": "0ec893e0-5785-4de6-99da-4ed124e5296c",
|
|
75
|
-
"permissionIds": [
|
|
76
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"appId": "4765445b-32c6-49b0-83e6-1d93765276ca",
|
|
81
|
-
"permissionIds": [
|
|
82
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"appId": "4345a7b9-9a63-4910-a426-35363201d503",
|
|
87
|
-
"permissionIds": [
|
|
88
|
-
"{{state.fx-resource-aad-app-for-teams.oauth2PermissionScopeId}}"
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"appId": "27922004-5251-4030-b22d-91ecd9a37ea4",
|
|
93
|
-
"permissionIds": [
|
|
94
|
-
"${{AAD_APP_ACCESS_AS_USER_PERMISSION_ID}}"
|
|
95
|
-
]
|
|
101
|
+
"id": "User.Read",
|
|
102
|
+
"type": "Scope"
|
|
96
103
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"web": {
|
|
108
|
+
"redirectUris": [],
|
|
109
|
+
"implicitGrantSettings": {}
|
|
110
|
+
},
|
|
111
|
+
"spa": {
|
|
112
|
+
"redirectUris": []
|
|
113
|
+
}
|
|
114
|
+
}
|