InfoArchive Connector: Location of Client's credentials

Location

The client's credentials are stored in directory: InfoArchive_distribution_root/infoarchive/config/iawebapp in application-CLIENTS.yml file.
Required client's credentials to be able to create connection in Admin wizard:

image2021-10-18_9-48-39.png

Setting Name In YML fileSetting Name Admin WizardDescription
clientIdClient IdClient Id
clientSecretClient Secret Client's Secret
scopesScopeRequired scope is search. If provided more than one scope, use white space to separate them.
authorizedGrantTypesGrant TypeRequired grant types for client are: password, refresh_token. 
In Admin Wizard insert password as grant type.


Note: If InfoArchive is configured with OTDS SSO, the OTDS is acting as OAuth2 server and is responsible for OAuth2 clients.

To define new OTDS Client you have to use OTDS Admin Web Application.


Exmaple:

application-Clients.yml
CLIENTS:
  clients:
  - accessTokenValiditySeconds: 2147483647
    authorities:
    - ROLE_TRUSTED_CLIENT
    authorizedGrantTypes:
    - password
    - refresh_token
    - implicit
    clientId: infoarchive.cli
    clientSecret: L5LYzd8a8p
    refreshTokenValiditySeconds: 2147483647
    scopes:
    - search
    - compliance
    - administration
    - otds:groups

ayfie