Fix(Authentication): Fix error causing cookie from Auth0 for login callback method to be blocked by samesite configuration.

This commit is contained in:
2025-07-11 17:32:53 +01:00
parent de4fa75f00
commit 4d17a9e143

View File

@@ -39,7 +39,7 @@ class Config:
# Auth0
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = 'Lax'
SESSION_COOKIE_SAMESITE = 'None'
REMEMBER_COOKIE_SECURE = True
WTF_CSRF_ENABLED = True
# WTF_CSRF_CHECK_DEFAULT = False # We'll check it manually for API routes