Update the Smart API configuration file - Intergraph Smart Completions - Intergraph Smart Completions Update 17 - Installation & Upgrade

Intergraph Smart Completions Installation (5.3.17)

Language
English
Product
Intergraph Smart Completions
Search by Category
Installation & Upgrade
Smart Completions Version
5.3.17
  1. In the Azure portal, open the new API page and copy the application (client) ID.

  2. Open the Smart Completions web.config file.

  3. In the services node:

    1. Set the id parameter to the application (client) ID.

    2. Remove the values for the secret and instance parameters, but do not remove the parameters.

    3. Add the audience parameter and set its value to the application (client) ID value.

      <intergraph.webApi>

      <services baseUri="http://localhost:53427/">

      <service prefix="smartapi/V1" id="c97ccb8b-2695-434e-8b4b-f7db94986f21"
      secret="" instance="" audience="20f7717c-4300-4642-82ff-147aae276c0f"/>

      </services>

  4. In the Oauth issuer node, set requiredScopes to the application (client) ID value. For example:

    <security>

    <oauth issuer="https://scclient.acme.com/sam/oauth/"

    requiredScopes="c97ccb8b-2695-434e-8b4b-f7db94986f21"/>

    <cors allowCredentials="false" preflightMaxAge="600" exposedHeaders=""

    allowedHeaders="*" allowedMethods="*" allowedOrigins="*"/>

    </security>

  5. Return to the Azure portal, and click Endpoints on the API page.

  6. Copy the first part of the OAuth authorization endpoint value, up to the oauth2 portion of the URL. For example:

    Oauth end points

  7. In the web.config file, set oauth issuer to the portion of the OAuth authorization endpoint value copied from the Azure portal.