diff --git a/docker/setup_configuration/data.yaml b/docker/setup_configuration/data.yaml index 58c9981..0425823 100644 --- a/docker/setup_configuration/data.yaml +++ b/docker/setup_configuration/data.yaml @@ -13,4 +13,15 @@ sites_config_enable: true sites_config: items: - domain: example.com - name: example \ No newline at end of file + name: example + +oidc_db_config_enable: true +oidc_db_config_admin_auth: + items: + - identifier: admin-oidc + oidc_rp_client_id: client-id + oidc_rp_client_secret: secret + endpoint_config: + oidc_op_authorization_endpoint: https://example.com/realms/test/protocol/openid-connect/auth + oidc_op_token_endpoint: https://example.com/realms/test/protocol/openid-connect/token + oidc_op_user_endpoint: https://example.com/realms/test/protocol/openid-connect/userinfo diff --git a/requirements/base.in b/requirements/base.in index 8d6f74f..f680f5b 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -8,6 +8,7 @@ furl django-jsonsuit sharing-configs django-setup-configuration>=0.4.0 +mozilla-django-oidc-db[setup-configuration] # API libraries drf-nested-routers diff --git a/requirements/base.txt b/requirements/base.txt index 8c4d6a2..6a191c5 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -159,6 +159,7 @@ django-sessionprofile==3.0.0 django-setup-configuration==0.4.0 # via # -r requirements/base.in + # mozilla-django-oidc-db # open-api-framework django-simple-certmanager==2.0.0 # via zgw-consumers @@ -244,8 +245,10 @@ maykin-2fa==1.0.1 # via open-api-framework mozilla-django-oidc==4.0.0 # via mozilla-django-oidc-db -mozilla-django-oidc-db==0.19.0 - # via open-api-framework +mozilla-django-oidc-db[setup-configuration]==0.20.0 + # via + # -r requirements/base.in + # open-api-framework notifications-api-common==0.3.1 # via commonground-api-common open-api-framework==0.9.0 diff --git a/requirements/ci.txt b/requirements/ci.txt index 53e47df..9d5cf8a 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -245,6 +245,7 @@ django-sessionprofile==3.0.0 django-setup-configuration==0.4.0 # via # -r requirements/base.txt + # mozilla-django-oidc-db # open-api-framework django-simple-certmanager==2.0.0 # via @@ -397,9 +398,10 @@ mozilla-django-oidc==4.0.0 # via # -r requirements/base.txt # mozilla-django-oidc-db -mozilla-django-oidc-db==0.19.0 +mozilla-django-oidc-db[setup-configuration]==0.20.0 # via # -r requirements/base.txt + # mozilla-django-oidc-db # open-api-framework multidict==6.0.5 # via yarl diff --git a/requirements/dev.txt b/requirements/dev.txt index d98a302..9ff1492 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -256,6 +256,7 @@ django-sessionprofile==3.0.0 django-setup-configuration==0.4.0 # via # -r requirements/base.txt + # mozilla-django-oidc-db # open-api-framework django-simple-certmanager==2.0.0 # via @@ -415,9 +416,10 @@ mozilla-django-oidc==4.0.0 # via # -r requirements/base.txt # mozilla-django-oidc-db -mozilla-django-oidc-db==0.19.0 +mozilla-django-oidc-db[setup-configuration]==0.20.0 # via # -r requirements/base.txt + # mozilla-django-oidc-db # open-api-framework multidict==6.0.5 # via yarl