feat(authentication): Added idle-functionality to logout inactive users after a certain time of inactivity. (TV-535)

Squashed commit of the following:

commit ca11dd079dca884634ead2696899cfedbfc826f1
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Wed Nov 10 14:45:48 2021 +0100

    Made changes after PR

commit a8a51ecdabf0d32aa67b814eee530c9a01d405a9
Merge: b1677aff 3b6ce438
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Wed Nov 10 12:47:54 2021 +0100

    Merge branch 'develop' into feature/TV-535-idle-functionality

commit b1677aff5210288f4a86ba235dd1acb5d415f71f
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Wed Nov 10 09:17:55 2021 +0100

    Added better check to avoid blank screens

commit 0129f3f6a1d4884d3f669b109bc9b8667fc6281c
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Wed Nov 10 09:12:55 2021 +0100

    Added idle functionality
This commit is contained in:
Erik Tiekstra
2021-11-10 14:47:06 +01:00
parent 3b6ce438a9
commit f332dd41e2
14 changed files with 266 additions and 48 deletions

View File

@@ -72,15 +72,16 @@ http {
proxy_pass $ELASTIC_SERVER_URL;
}
# Ciam Refresh token
location /refreshToken {
#proxy_http_version 1.1;
proxy_pass $CIAM_REFRESH_URL;
}
error_page 404 /404.html;
location = /40x.html {
}
location = /40x.html {}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
location = /50x.html {}
}
}

View File

@@ -1,5 +1,6 @@
#!/bin/bash
export CIAM_REFRESH_URL
export ELASTIC_SERVER_URL
envsubst '${ELASTIC_SERVER_URL} ' < /usr/share/container-scripts/nginx/nginx-start/nginx.template > /etc/nginx/nginx.conf
envsubst '${ELASTIC_SERVER_URL} ${CIAM_REFRESH_URL}' < /usr/share/container-scripts/nginx/nginx-start/nginx.template > /etc/nginx/nginx.conf