How to configure the adapter to link the API user with Fineract customer.
openbanking-adapter/01-ob_tn01_init.sql at master · openMF/openbanking-adapter
The above script provides information on the linking of the banking API user with the Fineract user inside the OpenBanking Adapter database.
INSERT INTO `user` (`api_user_id`, `psp_user_id`, `active`) VALUES ("lionuser1", "1", 1);
INSERT INTO `trusted_client` (`client_id`, `created_on`) VALUES ("Jg7O55zbOOlJiSJOaG9Qm5nq7qsa", current_date);
api_user_id - the user id provided via the API calls
psp_user_id - the primary key of the client in the Fineract Database
trusted_client - required for first party client. The registered client ID assigned on the API gateway. Trusted clients could invoke the API services on behalf of the customer without the additional consent flow.