Register Smart Construction OnSite with Okta - Intergraph Smart Construction - 2019 (7.0) - Installation & Upgrade - Hexagon PPM

Intergraph Smart Construction Installation and Upgrade (2019)

Language
English
Product
Intergraph Smart Construction
Search by Category
Installation & Upgrade
Smart Construction Version
2019(7.0)

If you are using Okta as your authentication server, follow the procedure in this subsection to register OnSite with Okta.

For details on how to administer Okta authorization service, please refer to your Okta product documentation.

  1. Select the Applications tab, and click Add Application.

  2. In the Create New Application screen, select Native App and click Next.

  3. In the APPLICATION section, in addition to any other requirements you may need to meet for your implementation, ensure the following settings are as follows:

    • Enter a Name such as ‘OnSite Client’.

    • For the Allowed Grant Types, select Authorization Code and Refresh Token.

    • For the login redirect URIs, enter: intergraph.smartconstruction.onsite:/oauthCallback

    • For Client Authentication, select Use PKCE.

  4. Note the Client ID that is assigned by Okta. You will need it for the next step.

  5. Make a copy of the onsite-settings.json.template file (located by default in the root folder of your site, for example, \SmartPlant Foundation Server Files\Web_Sites\[SiteName]) and name the copy onsite-settings.json.

  6. Edit onsite-settings.json and add the Client ID from the previous step as Client ID in this file.

  7. Edit the SmartPlant Foundation web.config file and change the OAuth security key shown below using the fully qualified URL of the Okta instance, as in this example:

    <security>

    <oauth issuer="https://youroktaserver.yourdomain.com/admin/oauth2/as/ausbxmpvuyCKJNolq0x6" requiredScopes="ingr.api" />

    ...

    </security>

  8. Ensure your group and user assignment will provide access to this application for all necessary users.

Important graphic

ClientID is the only mandatory field.

ClientID and ClientSecret are simple string values.

AuthorizationRequestSettings, AccessTokenSettings, and RefreshTokenSettings are arrays of KeyValuePair objects.