Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 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.

Exmaple:

Code Block
themeDJango
titleapplication-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

...