Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
cde05f8
Feature #21971: Session Management in Multiple Server Pods
harshach Mar 8, 2026
d351aff
Fix tests
harshach Mar 8, 2026
f118fce
Merge branch 'main' into issue-21971
harshach Mar 9, 2026
316933e
Address comments
harshach Mar 9, 2026
d28521a
Addressed comments
harshach Mar 9, 2026
0d805c3
Update generated TypeScript types
github-actions[bot] Mar 9, 2026
5fa8e28
Merge branch 'main' into issue-21971
harshach Mar 10, 2026
7108fdc
Merge main into issue-21971 (database-backed session management)
harshach Mar 26, 2026
ff6a71d
Fix critical issues found in session management security review
harshach Mar 26, 2026
0deb629
Harden session management: timing attacks, log safety, loop bounds
harshach Mar 26, 2026
54511c4
Merge remote-tracking branch 'origin/issue-21971' into issue-21971
harshach Mar 26, 2026
1300472
Add unit tests for critical session management coverage gaps
harshach Mar 26, 2026
fd93557
Fix security audit findings: session fixation, state validation bypas…
harshach Mar 26, 2026
55bd693
Use batch DELETE for session cleanup instead of individual deletes
harshach Mar 26, 2026
fa631e7
Fix duplicate validation and downgrade PII logging to DEBUG
harshach Mar 26, 2026
a39caa5
Resolve remaining security and performance items
harshach Mar 26, 2026
ff50e79
Merge main into issue-21971 and resolve test conflicts
harshach Mar 26, 2026
edc4a0f
Merge branch 'main' into issue-21971
harshach Mar 27, 2026
5d0ec16
Merge branch 'main' into issue-21971
harshach May 23, 2026
5c23e34
Add missing assertInstanceOf import in UnifiedAuthTest
harshach May 23, 2026
17478d6
Restore HttpSession-based shims on AuthenticationCodeFlowHandler for MCP
harshach May 23, 2026
31267bf
Fix SessionMultiNodeIT precondition to allow RDF-disabled runs
harshach May 23, 2026
b02a248
Address Copilot review comments on session management
harshach May 24, 2026
f38529f
Stop sessionExpiry from triggering a second SSO Advanced Config panel
harshach May 24, 2026
762484b
Revert validateRedirectUri path-prefix check; restore same-origin trust
harshach May 24, 2026
ca2e451
Harden validateRedirectUri per CodeQL open-redirect autofix
harshach May 24, 2026
477ebcf
Drop public. schema qualifier from user_session migration
harshach May 24, 2026
1d94987
Add Redis-backed SessionStore with autodetect routing
harshach May 24, 2026
1545f92
Stabilize TaskResourceIT assigned-endpoint flakes with explicit limit…
harshach May 24, 2026
ba5c3ae
Merge branch 'main' into issue-21971
mohityadav766 May 25, 2026
d14a7e1
Merge branch 'main' into issue-21971
mohityadav766 May 25, 2026
4ad245b
Merge branch 'main' into issue-21971
harshach May 26, 2026
dd52fb2
Close WebSocket sessions on user revocation (local + cross-pod)
harshach May 26, 2026
05c5fa5
Harden session-bound websocket authentication
harshach May 26, 2026
22aaa29
Update session management multi-node design
harshach May 26, 2026
f310561
Address session management design followups
harshach May 26, 2026
e4367a6
Update generated TypeScript types
github-actions[bot] May 26, 2026
a6565bc
Address PR review comments
harshach May 26, 2026
72f6aa6
Merge branch 'main' into issue-21971
harshach May 26, 2026
ea626b2
Address logout and redirect security findings
harshach May 26, 2026
aee5f69
Address additional session PR comments
harshach May 26, 2026
20fd787
Merge branch 'main' into issue-21971
harshach May 26, 2026
55f730d
Add more tests
mohityadav766 May 26, 2026
42c9989
Merge branch 'main' into issue-21971
mohityadav766 May 26, 2026
072ddcd
Remove from flyway
mohityadav766 May 26, 2026
47d0c5f
Update envs
mohityadav766 May 26, 2026
ae6b249
Address review comments
mohityadav766 May 26, 2026
69c0a0e
Raise active session per use to 1000
mohityadav766 May 27, 2026
1a248e2
Merge branch 'main' into issue-21971
mohityadav766 May 27, 2026
370e2ef
ci: set AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER=1000 for nightly …
ShaileshParmar11 May 27, 2026
8ec3e6d
Merge branch 'main' into issue-21971
mohityadav766 May 27, 2026
c0d2d82
Address session validation review comments
harshach May 27, 2026
a022eb9
Merge branch 'main' into issue-21971
harshach May 28, 2026
c4b5cc5
Address session management PR comments
harshach May 28, 2026
8b2c625
Update generated TypeScript types
github-actions[bot] May 28, 2026
845473a
Merge branch 'main' into issue-21971
harshach May 30, 2026
b835928
Fix CI failures for session tests and compose validation
harshach May 30, 2026
11b5e5c
Fix ingestion health check for Airflow 3
harshach May 30, 2026
85be2dd
Fix CI session and propagation failures
harshach May 31, 2026
fb8e0f2
Merge branch 'main' into issue-21971
harshach May 31, 2026
8f5eef0
Merge origin/main into issue-21971
harshach Jun 1, 2026
8d983d2
Merge remote-tracking branch 'origin/issue-21971' into issue-21971
harshach Jun 1, 2026
6139e01
Merge branch 'main' into issue-21971
harshach Jun 1, 2026
dfdef29
Merge branch 'main' into issue-21971
harshach Jun 2, 2026
367afb4
Merge branch 'main' into issue-21971
harshach Jun 2, 2026
6508274
Merge branch 'main' into issue-21971
harshach Jun 3, 2026
f4b44d3
Fix CI failures
harshach Jun 3, 2026
aba2ce6
Merge origin/main into issue-21971
harshach Jun 3, 2026
647434e
Address websocket handshake review comments
harshach Jun 3, 2026
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
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ runs:
# ------------------------------------------------------------------------------

# ---- Start OpenMetadata Server and ingest Sample Data ------------------------
- name: Configure Test Session Limit
if: ${{ inputs.install-server == 'true' }}
run: |
if [ -z "${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-}" ]; then
echo "AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER=10000" >> "$GITHUB_ENV"
fi
shell: bash

- name: Start Server and Ingest Sample Data
if: ${{ inputs.install-server == 'true' }}
uses: nick-fields/retry@v3.0.2
Expand Down
43 changes: 30 additions & 13 deletions .github/actions/validate-omd-docker-compose/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ runs:
TIMEOUT=180
ELAPSED=0
INTERVAL=10
INGESTION_HEALTH_ENDPOINTS=(
"http://localhost:8080/api/v2/monitor/health"
"http://localhost:8080/health"
)

while [ $ELAPSED -lt $TIMEOUT ]; do
echo "Checking ingestion health (${ELAPSED}s/${TIMEOUT}s)..."
Expand All @@ -147,13 +151,16 @@ runs:
echo "Ingestion container status: $INGESTION_STATUS"

if [ "$INGESTION_STATUS" = "running" ]; then
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/health 2>/dev/null || echo "000")
echo "Ingestion health endpoint response: $RESPONSE"

if [ "$RESPONSE" = "200" ]; then
echo "Ingestion service is healthy and responding!"
break
fi
for ENDPOINT in "${INGESTION_HEALTH_ENDPOINTS[@]}"; do
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" "$ENDPOINT" 2>/dev/null || true)
RESPONSE=${RESPONSE:-000}
echo "Ingestion health endpoint ${ENDPOINT} response: $RESPONSE"

if [ "$RESPONSE" = "200" ]; then
echo "Ingestion service is healthy and responding at ${ENDPOINT}!"
break 2
fi
done
fi

sleep $INTERVAL
Expand All @@ -170,12 +177,22 @@ runs:
shell: bash
run: |
echo "Testing ingestion endpoint..."
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/health)
if [ "$RESPONSE" != "200" ]; then
echo "ingestion health check failed with status code: $RESPONSE"
exit 1
fi
echo "ingestion is responding correctly (HTTP $RESPONSE)"
INGESTION_HEALTH_ENDPOINTS=(
"http://localhost:8080/api/v2/monitor/health"
"http://localhost:8080/health"
)

for ENDPOINT in "${INGESTION_HEALTH_ENDPOINTS[@]}"; do
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" "$ENDPOINT" 2>/dev/null || true)
RESPONSE=${RESPONSE:-000}
if [ "$RESPONSE" = "200" ]; then
echo "ingestion is responding correctly at ${ENDPOINT} (HTTP $RESPONSE)"
exit 0
fi
echo "ingestion health check for ${ENDPOINT} returned status code: $RESPONSE"
done

exit 1

- name: Display service status
shell: bash
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/mysql-nightly-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
pw-ci-mysql-branch:
runs-on: ubuntu-latest
environment: test
env:
# Playwright logs the admin user in many times (performAdminLogin per test, parallel
# workers, retries). The production default of 5 active sessions per user would evict the
# long-lived storageState session the page fixtures rely on and 401 every request. Raise
# the cap for E2E only; docker compose reads this for ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}.
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: "10000"
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/playwright-mysql-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
environment: test
env:
# Playwright logs the admin user in many times (performAdminLogin per test, parallel
# workers, retries). The production default of 5 active sessions per user would evict the
# long-lived storageState session the page fixtures rely on and 401 every request. Raise
# the cap for E2E only; docker compose reads this for ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}.
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: "10000"
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/playwright-postgresql-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ jobs:
runs-on: ubuntu-latest
if: ${{ !cancelled() && needs.build.result == 'success' }}
environment: test
env:
# Playwright logs the admin user in many times (performAdminLogin per test, parallel
# workers, retries). The production default of 5 active sessions per user would evict the
# long-lived storageState session the page fixtures rely on and 401 every request. Raise
# the cap for E2E only; docker compose reads this for ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}.
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: "10000"
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/postgresql-nightly-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
pw-ci-postgresql-branch:
runs-on: ubuntu-latest
environment: test
env:
# Playwright logs the admin user in many times (performAdminLogin per test, parallel
# workers, retries). The production default of 5 active sessions per user would evict the
# long-lived storageState session the page fixtures rely on and 401 every request. Raise
# the cap for E2E only; docker compose reads this for ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}.
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: "10000"
strategy:
fail-fast: false
matrix:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/py-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,18 @@ jobs:
run: |
source env/bin/activate
cd ingestion
nox --no-venv -s integration-tests -- --standalone --durations=5 ${{ matrix.shard.nox-args }}
read -r -a shard_args <<< "$NOX_ARGS"
set +e
nox --no-venv -s integration-tests -- --standalone --durations=5 "${shard_args[@]}" 2>&1 | tee integration-test-run.log
status=${PIPESTATUS[0]}
set -e
if [ "$status" -ne 0 ] && { [ "$status" -eq 139 ] || [ "$status" -eq 245 ] || grep -Eq "failed with exit code -11|Segmentation fault|exit code 139" integration-test-run.log; }; then
nox --no-venv -s integration-tests -- --standalone --durations=5 "${shard_args[@]}"
else
exit "$status"
fi
env:
NOX_ARGS: ${{ matrix.shard.nox-args }}
TESTCONTAINERS_RYUK_DISABLED: true
shell: bash

Expand All @@ -213,7 +223,7 @@ jobs:
run: |
cd ./docker/development
docker compose down --remove-orphans
sudo rm -rf ${PWD}/docker-volume
sudo rm -rf "${PWD}/docker-volume"

# Single required-check gate for branch protection.
# Skipped (= "Success") when all test jobs pass or are legitimately skipped.
Expand Down Expand Up @@ -305,6 +315,7 @@ jobs:
- name: Retry 'Push Results in PR to Sonar'
uses: SonarSource/sonarqube-scan-action@v7
if: ${{ github.event_name == 'pull_request_target' && steps.push-to-sonar.outcome != 'success' }}
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.INGESTION_SONAR_SECRET }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/validate-docker-compose-quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
validate-docker-compose:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
OPENMETADATA_DB_IMAGE: docker.getcollate.io/openmetadata/db:latest
OPENMETADATA_SERVER_IMAGE: docker.getcollate.io/openmetadata/server:latest
OPENMETADATA_INGESTION_IMAGE: docker.getcollate.io/openmetadata/ingestion:latest

steps:
- name: Checkout
Expand Down
21 changes: 21 additions & 0 deletions bootstrap/sql/migrations/native/2.0.0/mysql/schemaChanges.sql
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,24 @@ CREATE TABLE IF NOT EXISTS context_memory (
UNIQUE KEY unique_context_memory_name (nameHash),
INDEX idx_context_memory_updated_at (updatedAt)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Database-backed user session store for multi-pod session management (issue #21971).
CREATE TABLE IF NOT EXISTS `user_session` (
`id` varchar(64) GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.id'))) STORED NOT NULL,
`userId` varchar(36) GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.userId'))) STORED,
`status` varchar(32) GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.status'))) STORED NOT NULL,
`expiresAt` bigint unsigned GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.expiresAt'))) STORED NOT NULL,
`idleExpiresAt` bigint unsigned GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.idleExpiresAt'))) STORED NOT NULL,
`updatedAt` bigint unsigned GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.updatedAt'))) STORED NOT NULL,
`sessionType` varchar(32) GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.type'))) VIRTUAL,
`provider` varchar(64) GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.provider'))) VIRTUAL,
`version` bigint unsigned GENERATED ALWAYS AS (json_unquote(json_extract(`json`,_utf8mb4'$.version'))) VIRTUAL,
`lastAccessedAt` bigint unsigned GENERATED ALWAYS AS (nullif(json_unquote(json_extract(`json`,_utf8mb4'$.lastAccessedAt')),'null')) VIRTUAL,
`refreshLeaseUntil` bigint unsigned GENERATED ALWAYS AS (nullif(json_unquote(json_extract(`json`,_utf8mb4'$.refreshLeaseUntil')),'null')) VIRTUAL,
`json` json NOT NULL,
PRIMARY KEY (`id`),
KEY `user_session_user_status` (`userId`,`status`),
KEY `user_session_expiry` (`status`,`expiresAt`),
KEY `user_session_idle_expiry` (`status`,`idleExpiresAt`),
KEY `user_session_prune` (`status`,`updatedAt`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
22 changes: 22 additions & 0 deletions bootstrap/sql/migrations/native/2.0.0/postgres/schemaChanges.sql
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,25 @@ CREATE TABLE IF NOT EXISTS context_memory (
UNIQUE (nameHash)
);
CREATE INDEX IF NOT EXISTS idx_context_memory_updated_at ON context_memory (updatedAt);

-- Database-backed user session store for multi-pod session management (issue #21971).
CREATE TABLE IF NOT EXISTS user_session (
id character varying(64) GENERATED ALWAYS AS ((json ->> 'id'::text)) STORED NOT NULL,
userid character varying(36) GENERATED ALWAYS AS ((json ->> 'userId'::text)) STORED,
status character varying(32) GENERATED ALWAYS AS ((json ->> 'status'::text)) STORED NOT NULL,
expiresat bigint GENERATED ALWAYS AS (((json ->> 'expiresAt'::text))::bigint) STORED NOT NULL,
idleexpiresat bigint GENERATED ALWAYS AS (((json ->> 'idleExpiresAt'::text))::bigint) STORED NOT NULL,
updatedat bigint GENERATED ALWAYS AS (((json ->> 'updatedAt'::text))::bigint) STORED NOT NULL,
sessiontype character varying(32) GENERATED ALWAYS AS ((json ->> 'type'::text)) STORED,
provider character varying(64) GENERATED ALWAYS AS ((json ->> 'provider'::text)) STORED,
version bigint GENERATED ALWAYS AS (((json ->> 'version'::text))::bigint) STORED,
lastaccessedat bigint GENERATED ALWAYS AS (((json ->> 'lastAccessedAt'::text))::bigint) STORED,
refreshleaseuntil bigint GENERATED ALWAYS AS (((json ->> 'refreshLeaseUntil'::text))::bigint) STORED,
json jsonb NOT NULL,
CONSTRAINT user_session_pkey PRIMARY KEY (id)
);

CREATE INDEX IF NOT EXISTS user_session_user_status_idx ON user_session USING btree (userid, status);
CREATE INDEX IF NOT EXISTS user_session_expiry_idx ON user_session USING btree (status, expiresat);
CREATE INDEX IF NOT EXISTS user_session_idle_expiry_idx ON user_session USING btree (status, idleexpiresat);
CREATE INDEX IF NOT EXISTS user_session_prune_idx ON user_session USING btree (status, updatedat);
4 changes: 3 additions & 1 deletion conf/openmetadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ authenticationConfiguration:
# Enable this when running behind a proxy/load balancer that handles SSL termination.
# Default: false (secure flag only set when HTTPS is detected)
forceSecureSessionCookie: ${FORCE_SECURE_SESSION_COOKIE:-false}
sessionExpiry: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"} # 7 days; applies to all auth providers
maxActiveSessionsPerUser: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
oidcConfiguration:
# REQUIRED for SSO: OAuth client ID from your identity provider
id: ${OIDC_CLIENT_ID:-""}
Expand All @@ -405,7 +407,7 @@ authenticationConfiguration:
customParams: ${OIDC_CUSTOM_PARAMS:-}
maxAge: ${OIDC_MAX_AGE:-"0"}
prompt: ${OIDC_PROMPT_TYPE:-"consent"}
sessionExpiry: ${OIDC_SESSION_EXPIRY:-"604800"} #7 days
sessionExpiry: ${OIDC_SESSION_EXPIRY:-"604800"} # Deprecated fallback; use AUTHENTICATION_SESSION_EXPIRY
samlConfiguration:
debugMode: ${SAML_DEBUG_MODE:-false}
idp:
Expand Down
2 changes: 2 additions & 0 deletions docker/development/.env.sso-test
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ OIDC_CALLBACK=http://localhost:8585/callback
OIDC_SERVER_URL=http://localhost:8585
OIDC_CLIENT_AUTH_METHOD=client_secret_post
OIDC_SESSION_EXPIRY=604800
AUTHENTICATION_SESSION_EXPIRY=604800
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER=5
2 changes: 2 additions & 0 deletions docker/development/distributed-test/local/server1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ authenticationConfiguration:
# Enable this when running behind a proxy/load balancer that handles SSL termination.
# Default: false (secure flag only set when HTTPS is detected)
forceSecureSessionCookie: ${FORCE_SECURE_SESSION_COOKIE:-false}
sessionExpiry: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"} # 7 days; applies to all auth providers
maxActiveSessionsPerUser: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
oidcConfiguration:
id: ${OIDC_CLIENT_ID:-""}
type: ${OIDC_TYPE:-""} # google, azure etc.
Expand Down
2 changes: 2 additions & 0 deletions docker/development/distributed-test/local/server2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ authenticationConfiguration:
# Enable this when running behind a proxy/load balancer that handles SSL termination.
# Default: false (secure flag only set when HTTPS is detected)
forceSecureSessionCookie: ${FORCE_SECURE_SESSION_COOKIE:-false}
sessionExpiry: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"} # 7 days; applies to all auth providers
maxActiveSessionsPerUser: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
oidcConfiguration:
id: ${OIDC_CLIENT_ID:-""}
type: ${OIDC_TYPE:-""} # google, azure etc.
Expand Down
2 changes: 2 additions & 0 deletions docker/development/distributed-test/local/server3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ authenticationConfiguration:
# Enable this when running behind a proxy/load balancer that handles SSL termination.
# Default: false (secure flag only set when HTTPS is detected)
forceSecureSessionCookie: ${FORCE_SECURE_SESSION_COOKIE:-false}
sessionExpiry: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"} # 7 days; applies to all auth providers
maxActiveSessionsPerUser: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
oidcConfiguration:
id: ${OIDC_CLIENT_ID:-""}
type: ${OIDC_TYPE:-""} # google, azure etc.
Expand Down
4 changes: 4 additions & 0 deletions docker/development/docker-compose-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down Expand Up @@ -337,6 +339,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down
4 changes: 4 additions & 0 deletions docker/development/docker-compose-postgres-fuseki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down Expand Up @@ -356,6 +358,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down
4 changes: 4 additions & 0 deletions docker/development/docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down Expand Up @@ -349,6 +351,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down
4 changes: 4 additions & 0 deletions docker/development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down Expand Up @@ -342,6 +344,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down Expand Up @@ -285,6 +287,8 @@ services:
OIDC_MAX_AGE: ${OIDC_MAX_AGE:-"0"}
OIDC_PROMPT_TYPE: ${OIDC_PROMPT_TYPE:-"consent"}
OIDC_SESSION_EXPIRY: ${OIDC_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_SESSION_EXPIRY: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"}
AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5}
# For SAML Authentication
# SAML_DEBUG_MODE: ${SAML_DEBUG_MODE:-false}
# SAML_IDP_ENTITY_ID: ${SAML_IDP_ENTITY_ID:-""}
Expand Down
Loading
Loading