Skip to content
Snippets Groups Projects

Feature/comp 208 google o auth poc

Merged Bjarke Madsen requested to merge feature/COMP-208-Google-OAuth-POC into develop
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -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')
Loading