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 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. |
Exmaple:
Code Block | ||||
---|---|---|---|---|
| ||||
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 |
...