Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SS 871 New setting for expiration of auth tokens #33

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scaleout/stackn/templates/studio-settings-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,16 @@ data:
}

# Session settings for managing automatic login expiration.
# The age of session cookies, in seconds. Set to 1 day = 86400 seconds:
# The age of session cookies, in seconds. Default set to 1 day = 86400 seconds:
SESSION_COOKIE_AGE = {{ .Values.studio.session_cookie_age | default 86400 }}
# Whether to save the session data on every request. For sliding expiration:
SESSION_SAVE_EVERY_REQUEST = True
# Whether to expire the session when the user closes their browser:
SESSION_EXPIRE_AT_BROWSER_CLOSE = False

# The expiration duration in seconds for authentication tokens. Default set to 1 day:
AUTH_TOKEN_EXPIRATION = {{ .Values.studio.auth_token_expiration | default 86400 }}

# Settings for the Django Axes brute force login protection
# Number of allowed login failures before action is taken
AXES_FAILURE_LIMIT = {{ .Values.studio.axes_failure_limit | default 10 }}
Expand Down
Loading