Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
idabblewith committed Aug 22, 2024
1 parent 6b2de9c commit 2df95e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,18 @@
"Authorization",
]


SESSION_COOKIE_DOMAIN = ".dbca.wa.gov.au"
CSRF_COOKIE_DOMAIN = ".dbca.wa.gov.au"

# Ensure SameSite attribute allows cross-site requests if needed
CSRF_COOKIE_SAMESITE = "None"
SESSION_COOKIE_SAMESITE = "None"
# Secure attribute is also recommended if using HTTPS
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True


# Application definitions ======================================================
SYSTEM_APPS = [
"django.contrib.admin",
Expand Down

0 comments on commit 2df95e2

Please sign in to comment.