Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compendium-v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
compendium-v2
Commits
427d89e8
Commit
427d89e8
authored
Jun 22, 2023
by
Bjarke Madsen
Browse files
Options
Downloads
Patches
Plain Diff
use SESSION_COOKIE_SECURE
parent
ccd3dbaf
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!44
Feature/comp 208 google o auth poc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
compendium_v2/__init__.py
+1
-0
1 addition, 0 deletions
compendium_v2/__init__.py
with
1 addition
and
0 deletions
compendium_v2/__init__.py
+
1
−
0
View file @
427d89e8
...
@@ -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
'
)
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment