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

feat: enable helusers back channel logout #461

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions kerrokantasi/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def get_git_revision_hash():
DEFAULT_MAP_COORDINATES=(tuple, (60.192059, 24.945831)), # Coordinates of Helsinki
DEFAULT_MAP_ZOOM=(int, 11),
# Authentication settings
HELUSERS_BACK_CHANNEL_LOGOUT_ENABLED=(bool, False),
OIDC_API_AUDIENCE=(str, ""),
OIDC_API_SCOPE_PREFIX=(str, "kerrokantasi"),
OIDC_API_REQUIRE_SCOPE_FOR_AUTHENTICATION=(bool, True),
Expand Down Expand Up @@ -338,6 +339,8 @@ def get_git_revision_hash():

FILTERS_NULL_CHOICE_LABEL = "null"

HELUSERS_BACK_CHANNEL_LOGOUT_ENABLED = env("HELUSERS_BACK_CHANNEL_LOGOUT_ENABLED")

OIDC_API_TOKEN_AUTH = {
"AUDIENCE": env("OIDC_API_AUDIENCE"),
"API_SCOPE_PREFIX": env("OIDC_API_SCOPE_PREFIX"),
Expand Down