Add an Authorization Server - 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. On the Home page, click Security > API > Authorization Servers > Add Authorization Server.

  2. Enter the following information:

    Setting

    Example

    Description

    Name

    Smart Completions Smart API

    The name of the authorization server.

    Audience

    71FC520E-78DA-4EA7-96C1-164EA13FD5DO

    The GUID for this audience. This GUID can be generated using the GUID website http://new-guid.com. The GUID must be in upper case.

    Keep a record of the GUID as it is used as part of authorization server.

    Description

    Smart Completions Smart API Server

    A name for the authorization server.

  3. Click Save.

Set server custom scopes

This procedure allows you to set up the server custom scopes after the authorization server is configured.

  1. On the Home page, click Authorization Servers.

  2. Select the authorization server that you just created, for example Smart Completions Smart API.

  3. Select the Scopes tab, and click Add Scope.

  4. For Name, enter the audience GUID.

    Do not set the default scope to Set as a default scope.

Set server custom claims

  1. On the Home page, click Authorization Servers.

  2. Select the authorization server that you just created, for example Smart Completions Smart API.

  3. Select the Claims tab and click Add Claims.

  4. In the Add Claims, set the claims as follows:

    Name

    Value

    Scopes

    Type

    Included

    sub

    (appuser != null) ? appuser.userName : app.clientId

    Any

    access

    Always

    email

    appuser.email

    Any

    access

    Always

  5. Click Create.

Set the server access policy

  1. On the Home page, click Authorization Servers.

  2. Select the authorization server that you just created, for example Smart Completions Smart API.

  3. Select the Access Policies tab and click Add Policy.

  4. Enter the Name and Description.

  5. Select The following clients and then enter the application name created earlier as the client name.

  6. Click Create Policy.

Set the server rule

  1. On the Home page, click Authorization Servers.

  2. Select the authorization server that you just created, for example Smart Completions Smart API.

  3. Select the Access Policies tab and click Add Rule.

    Rules allow for configuration of the token expiration based on the selected grant type, user, and scope.

  4. Provide all the required fields and click Create Rule.

  5. Click Settings tab and make a note of the Audience and Issuer information. This information is required to configure the API.