Skip to content
Snippets Groups Projects
Commit 427d89e8 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

use SESSION_COOKIE_SECURE

parent ccd3dbaf
Branches
Tags
1 merge request!44Feature/comp 208 google o auth poc
...@@ -39,6 +39,7 @@ def _create_app(app_config) -> Flask: ...@@ -39,6 +39,7 @@ def _create_app(app_config) -> Flask:
app.config['CONFIG_PARAMS'] = app_config app.config['CONFIG_PARAMS'] = app_config
app.config['SECRET_KEY'] = app_config['SECRET_KEY'] app.config['SECRET_KEY'] = app_config['SECRET_KEY']
app.config['SESSION_COOKIE_SECURE'] = True
if 'oidc' not in app_config: if 'oidc' not in app_config:
app.config['LOGIN_DISABLED'] = True app.config['LOGIN_DISABLED'] = True
logger.info('No OIDC configuration found, authentication disabled') logger.info('No OIDC configuration found, authentication disabled')
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment