Since Identity provider is disabled by default, in order to enable it, set following application.property to true:
application.isEnabledDapsInteraction=true
The TRUE Connector is able to interact with the following Identity Providers: For each of 3 supported identity providers, you need to obtain certificate, in order to be able to get JWToken from DAPS server. Certificate needs to be copied into ecc_cert folder and modify DAPS_KEYSTORE_NAME, DAPS_KEYSTORE_PASSWORD and DAPS_KEYSTORE_ALIAS in .env file, for both Provider and Consumer section..
- AISECv2 (default configuration)additional step: edit application-docker.properties and modify application.dapsVersion=v2 and application.dapsUrl should point to DAPS v2 server
- ORBITER put the certificates (private and public key) in the ecc_cert folder, edit related settings (i.e., application.daps.orbiter.privateKey, application.daps.orbiter.password) and set the application.dapsVersion (in the application-docker.properties) to orbiter application.dapsUrl should point to Orbiter IDP server
DAPS related configuration can be achieved by modifying following (.env file). Following snippet is just an example:
PROVIDER_DAPS_KEYSTORE_NAME=daps-keystore-provider.p12
PROVIDER_DAPS_KEYSTORE_PASSWORD=password
PROVIDER_DAPS_KEYSTORE_ALIAS=1
and/or
CONSUMER_DAPS_KEYSTORE_NAME=daps-keystore-consumer.p12
CONSUMER_DAPS_KEYSTORE_PASSWORD=password
CONSUMER_DAPS_KEYSTORE_ALIAS=1