REST API: System Integrator's Guide

Configure Web Central

Web Central uses a distinct authentication configuration to work as a REST API server.

In this configuration:

REST API configuration files are supplied in the \webcentral-platform-common\src\main\resources\com\archibus\service\common\rest\ folder.

Procedure

  1. Copy web.xml to the WEB-INF folder.

  2. Copy appContext.xml to the WEB-INF\config\context folder.

  3. Copy applications.xml to the WEB-INF\config\context\applications folder.

  4. Copy core-infrastructure.xml to the WEB-INF\config\context\core folder.

  5. Configure WEB-INF\config\oidc.properties:

    • Copy audience and issuer values from Okta Developer Console:
    • Enter jwksUrl value as <issuer>/v1/keys:
    • oidc.audience=api://default oidc.issuer=https://dev-846944.okta.com/oauth2/default oidc.jwksUrl=https://dev-846944.okta.com/oauth2/default/v1/keys

  6. Restart the app server.