issuer-web is not recognizing the authentication.enabled property from the config.json
WadeBarnes opened this issue · comments
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:
issuer-kit/issuer-web/src/store/index.ts
Lines 17 to 35 in edee621
The same issue exists in the same class within issuer-admin
.
Workaround:
- Provide the required fields for the
authentication.oidcSettings
properties, 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.