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:
Setting Name In YML file | Setting Name Admin Wizard | Description |
---|---|---|
clientId | Client Id | Client Id |
clientSecret | Client Secret | Client's Secret |
scopes | Scope | Required scope is search. If provided more than one scope, use white space to separate them. |
authorizedGrantTypes | Grant Type | Required 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