maykinmedia / django-setup-configuration

MIT License
0 stars 0 forks source link

setup_configuration opennotificaties NRC config not working #16

Open sjoerdie opened 3 months ago

sjoerdie commented 3 months ago

When running setup_configuration with the variables described in https://github.com/open-zaak/open-notificaties/blob/main/docker-compose.yml the configuration is not fully completed:

image

Here is an example of an instance manually configured by a human: image

Everything is properly configured on the openzaak side.

Please make sure everything can be configured with setup_configuration as described here: https://open-zaak.readthedocs.io/en/latest/installation/config/openzaak_config.html

These are the envvars that are set when running ./src/manage.py setup_configuration

SITES_CONFIG_ENABLE=True
OPENZAAK_DOMAIN=opennotificaties.test.deducted.opengem.nl
OPENNOTIFICATIES_DOMAIN=opennotificaties.test.deducted.opengem.nl
OPENZAAK_ORGANIZATION=Gemeente deducted
OPENNOTIFICATIES_ORGANIZATION=Gemeente deducted
NOTIF_OPENZAAK_CONFIG_ENABLE=True
NOTIF_OPENZAAK_CLIENT_ID=opennotficaties
NOTIF_OPENZAAK_SECRET=deducted

OPENZAAK_NOTIF_CONFIG_ENABLE=True
NOTIF_API_ROOT=https://opennotificaties.test.deducted.opengem.nl/api/v1/
OPENZAAK_NOTIF_CLIENT_ID=openzaak
OPENZAAK_NOTIF_SECRET=deducted
AUTHORIZATION_CONFIG_ENABLE=True
AUTORISATIES_API_ROOT=https://openzaak.test.deducted.opengem.nl/autorisaties/api/v1/

In the admin in looks like this:

image

image

image

For the manually configured instance it looks like this: image

image

image

Thank you.

alextreme commented 2 weeks ago

Discussed and moved to TODO as the missing NRC step is clear to me