-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Hi team,
We observed that the GET /api/openbanking/consent/authorize/retrieve/{} fails with a 401 during the consent flow. We were able to identify that this is caused due to the changed admin credentials in the setup we have done. Based on the below logic, we use admin@wso2.com:wso2123 as default admin credentials, if the admin credentials are not configured.
<ConsentAPICredentials> {% if open_banking.consent.api_credentials.username is defined %} <Username>{{open_banking.consent.api_credentials.username}}</Username> {% else %} <Username>admin@wso2.com</Username> {% endif %} {% if open_banking.consent.api_credentials.password is defined %} <Password>{{open_banking.consent.api_credentials.password}}</Password> {% else %} <Password>wso2123</Password> {% endif %} </ConsentAPICredentials>
By configuring the new admin credentials in the below configuration, the 401 issue was sorted. But I was not able to find where this is mentioned in the documentation. Is this configuration available in the documentation? If not, can we add this configuration in the documentation
[open_banking.consent.api_credentials] username="$ref{super_admin.username}" password="$ref{super_admin.password}"
Thanks & Regards,
Chandima