Skip to content

Commit

Permalink
Merge branch 'cyber-security' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nemozak1 committed Nov 9, 2023
2 parents 6812c95 + ad33b54 commit a1023ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apimanager/apimanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,13 @@
# Always save session$
SESSION_SAVE_EVERY_REQUEST = True

# Session Cookie Settings
SESSION_COOKIE_SECURE = True
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_AGE = 300
SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"


# Paths on API_HOST to OAuth
OAUTH_TOKEN_PATH = '/oauth/initiate'
OAUTH_AUTHORIZATION_PATH = '/oauth/authorize'
Expand Down

0 comments on commit a1023ba

Please sign in to comment.