Skip to content
Snippets Groups Projects
Verified Commit 05579748 authored by nd's avatar nd
Browse files

added CSRF cookie protection

parent e2c95d42
Branches
Tags
No related merge requests found
......@@ -8,3 +8,7 @@ OAUTH2_AUTH_URL = 'http://localhost:5001/oauth2/authorize'
OAUTH2_TOKEN_URL = 'http://localhost:5001/oauth2/token'
OAUTH2_USERINFO_URL = 'http://localhost:5001/oauth2/userinfo'
# CSRF protection
SESSION_COOKIE_SECURE=True
SESSION_COOKIE_HTTPONLY=True
SESSION_COOKIE_SAMESITE='Strict'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment