Skip to content

Commit

Permalink
Merge pull request #756 from GSA/feature/secure-cookie
Browse files Browse the repository at this point in the history
Fix cookie strict
  • Loading branch information
jbrown-xentity authored Aug 5, 2024
2 parents a513723 + bbef28f commit 6131fff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions config/ckan.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ beaker.session.secret = $CKAN___BEAKER__SESSION__SECRET

beaker.session.type=ext:database
beaker.session.cookie_expires=true
beaker.session.secure = True
beaker.session.samesite = Lax
#beaker.session.url = $CKAN___BEAKER__SESSION__URL
# 900 seconds = 15 mins
beaker.session.timeout=900
Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Babel==2.10.3
Beaker==1.11.0
bleach==5.0.1
blinker==1.5
boto3==1.34.144
botocore==1.34.144
boto3==1.34.152
botocore==1.34.152
certifi==2024.7.4
cffi==1.16.0
chardet==5.2.0
Expand All @@ -19,10 +19,10 @@ ckanext-googleanalyticsbasic==0.2.1
ckanext-s3filestore @ git+https://github.com/keitaroinc/ckanext-s3filestore.git@caf88c0352ffe7b4432d3d55ddfb0a71249ceddd
ckanext-saml2auth @ git+https://github.com/GSA/ckanext-saml2auth.git@387cfc1c6a7619f670bf387384f2634516de5844
ckanext-usmetadata==0.3.2
-e git+https://github.com/ckan/ckanext-xloader.git@3a865acd843bf7e2a7e2eb3c4e983816eddb6658#egg=ckanext_xloader
-e git+https://github.com/ckan/ckanext-xloader.git@a96ce28c589dfe6b1b850d8eeeb14f1e1dfe9759#egg=ckanext_xloader
ckantoolkit==0.0.7
click==8.1.3
cryptography==42.0.8
cryptography==43.0.0
defusedxml==0.7.1
dominate==2.7.0
elementpath==4.4.0
Expand Down Expand Up @@ -65,7 +65,7 @@ polib==1.1.1
psycopg2==2.9.3
pycparser==2.22
PyJWT==2.4.0
pyOpenSSL==24.1.0
pyOpenSSL==24.2.1
pyparsing==3.1.2
pysaml2==7.3.1
pysolr==3.9.0
Expand All @@ -75,7 +75,7 @@ pytz==2024.1
pytz-deprecation-shim==0.1.0.post0
PyUtilib==6.0.0
PyYAML==6.0.1
redis==5.0.7
redis==5.0.8
requests==2.32.3
rfc3987==1.3.8
rq==1.11.0
Expand All @@ -102,6 +102,6 @@ Werkzeug==2.0.3
wheel==0.42.0
WTForms==3.1.2
xlrd==2.0.1
xmlschema==3.3.1
xmlschema==3.3.2
zope.event==5.0
zope.interface==5.4.0

0 comments on commit 6131fff

Please sign in to comment.