Skip to content

Commit f0871a6

Browse files
authored
feat: add sessionTimeoutInMins in admin-ui configuration (#1588)
Signed-off-by: iromli <[email protected]>
1 parent b3e768a commit f0871a6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

docker-admin-ui/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apk update \
77
# TODO:
88
# - use NODE_ENV=production
99
# - download build package (not git clone)
10-
ENV FLEX_SOURCE_VERSION=dd30027883496b7a3556435934b49438b5d02582
10+
ENV FLEX_SOURCE_VERSION=27a54d30cf4dde03e9d39e1bc5a93c39ac90690e
1111
ENV ADMIN_UI_VERSION=${FLEX_SOURCE_VERSION}
1212

1313
RUN mkdir -p /opt/flex /app/templates/admin-ui

docker-admin-ui/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ libcst<0.4
22
# pinned to py3-grpcio version to avoid failure on native extension build
33
grpcio==1.54.2
44
jwcrypto==1.4.2
5-
git+https://github.com/JanssenProject/jans@2eb603e383e54611783435af82f2492da3050c3b#egg=jans-pycloudlib&subdirectory=jans-pycloudlib
5+
git+https://github.com/JanssenProject/jans@1f015919ada58a1abc0757379407fe0b1e6b8569#egg=jans-pycloudlib&subdirectory=jans-pycloudlib

docker-admin-ui/scripts/bootstrap.py

+5
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,11 @@ def resolve_conf_app(old_conf, new_conf):
300300
old_conf["oidcConfig"]["auiBackendApiClient"]["scopes"] = new_conf["oidcConfig"]["auiBackendApiClient"]["scopes"]
301301
should_update = True
302302

303+
# add missing uiConfig
304+
if "uiConfig" not in old_conf:
305+
old_conf["uiConfig"] = {"sessionTimeoutInMins": 30}
306+
should_update = True
307+
303308
# finalized status and conf
304309
return should_update, old_conf
305310

0 commit comments

Comments
 (0)