mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 10:59:00 +00:00
Added Secure Session Cookies
This commit is contained in:
parent
57e161b5d3
commit
ad33b54081
@ -282,6 +282,13 @@ SHOW_API_TESTER = False
|
||||
# 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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user