issuer-web is not recognizing the authentication.enabled property from the config.json
Even when authentication.enabled = false issuer-web still attempts to load the authentication.oidcSettings properties and create an oidc object.
When the authentication.oidcSettings properties are not included in the json the web page will display blank with the following console errors:
The issue seems to be with the code here: https://github.com/bcgov/issuer-kit/blob/edee62127449f125ae428587f09087bcf9722f7b/issuer-web/src/store/index.ts#L17-L35
The same issue exists in the same class within issuer-admin.
Workaround:
- Provide the required fields for the
authentication.oidcSettingsproperties, which arevar requiredConfigProperties = ['authority', 'client_id', 'redirect_uri', 'response_type', 'scope'];. - Example:
"authentication": { "enabled": false, "oidcSettings": { "authority": "not-used", "clientId": "not-used", "redirect_uri": "not-used", "responseType": "not-used", "scope": "not-used" } },
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.