@microsoft/m365-spec-parser 0.2.2-alpha.bc7ab6285.0 → 0.2.2-alpha.fa1ce1fbb.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.
@@ -1644,7 +1644,6 @@ class ManifestUpdater {
1644
1644
  const auth = authInfo.authScheme;
1645
1645
  const safeRegistrationIdName = Utils.getSafeRegistrationIdEnvName(`${authInfo.name}_${ConstantString.RegistrationIdPostfix[authInfo.authScheme.type]}`);
1646
1646
  if (Utils.isAPIKeyAuth(auth) || Utils.isBearerTokenAuth(auth)) {
1647
- const safeApiSecretRegistrationId = Utils.getSafeRegistrationIdEnvName(`${authInfo.name}_${ConstantString.RegistrationIdPostfix[authInfo.authScheme.type]}`);
1648
1647
  composeExtension.authorization = {
1649
1648
  authType: "apiSecretServiceAuth",
1650
1649
  apiSecretServiceAuthConfiguration: {
@@ -1653,16 +1652,13 @@ class ManifestUpdater {
1653
1652
  };
1654
1653
  }
1655
1654
  else if (Utils.isOAuthWithAuthCodeFlow(auth)) {
1655
+ // TODO: below schema is coming from design doc, may need to update when shcema is finalized
1656
1656
  composeExtension.authorization = {
1657
1657
  authType: "oAuth2.0",
1658
1658
  oAuthConfiguration: {
1659
1659
  oauthConfigurationId: `\${{${safeRegistrationIdName}}}`,
1660
1660
  },
1661
1661
  };
1662
- updatedPart.webApplicationInfo = {
1663
- id: "${{AAD_APP_CLIENT_ID}}",
1664
- resource: "api://${{DOMAIN}}/${{AAD_APP_CLIENT_ID}}",
1665
- };
1666
1662
  }
1667
1663
  }
1668
1664
  updatedPart.composeExtensions = [composeExtension];