wso2 / docs-open-banking

Apache License 2.0
39 stars 25 forks source link

[OB3] Making the Server URL configuration optional in the SCP #799

Closed ChinthakaJ98 closed 1 year ago

ChinthakaJ98 commented 1 year ago

Affected OB version:

OB3

Affected OB specifications:

Accelerator, UK

Existing pages to be updated:

https://ob.docs.wso2.com/en/latest/learn/consent-manager/#configuring-consent-manager https://uk.ob.docs.wso2.com/en/latest/learn/consent-manager/#configuring-consent-manager https://uk.ob.docs.wso2.com/en/latest/try-out/consent-manager/

Description (Optional):

The SERVER_URL configuration that is being used in the consent manager portal react application was made optional and it was extracted from the request and assigned to make the deployment simpler.

Instructions:

The configuration code snippet in the 1st point under Configuring Consent Manager needs to be updated as below.

window.env = {
    // This option can be retrieved in "src/index.js" with "window.env.API_URL".
    USE_DEFAULT_CONFIGS: true,
    SERVER_URL: 'https://localhost:9446',
    SPEC: 'Default',
    TENANT_DOMAIN: 'carbon.super',
    NUMBER_OF_CONSENTS: 20,
    VERSION: '3.0.0'
  };

The content in the bullet point needs to be changed as below.

The default configuration below can be used without any changes unless the Consent Manager Portal is deployed in a different server than the Identity Server. In such a scenario **USE_DEFAULT_CONFIGS** must be set to **false** and the **SERVER_URL** needs to be configured with the **URL of the Identity Server**.

References:

https://github.com/wso2-enterprise/financial-open-banking/issues/8242

ChinthakaJ98 commented 1 year ago

Hi @DinithiDiaz,

Please proceed with updating the aforementioned content accordingly as discussed offline because the update has been released with the fix in the wso2-obiam-accelerator release version 3.0.0.76.

Thanks & Kind Regards Chinthaka