Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
960733f
Fixes #28784: Interactive Test Login round-trip for SSO configuration
mohityadav766 Sep 25, 2026
2ae2822
Fold Test Configuration into Test Login
mohityadav766 Sep 25, 2026
305e23e
chore(playwright): auto-refresh impact-map.generated.json
github-actions[bot] Sep 28, 2026
06139d1
Keep Test Login state in a shared store
mohityadav766 Sep 28, 2026
e427874
Merge remote-tracking branch 'origin/main' into feature/28784-sso-tes…
mohityadav766 Sep 28, 2026
6dd0b75
Merge remote-tracking branch 'origin/main' into feature/28784-sso-tes…
mohityadav766 Sep 29, 2026
4bfe3c1
Clear abandoned Test Logins on a schedule and end refused ones
mohityadav766 Sep 29, 2026
653cb8f
Merge remote-tracking branch 'origin/main' into feature/28784-sso-tes…
mohityadav766 Sep 29, 2026
2376210
Merge branch 'main' into feature/28784-sso-test-login-roundtrip
mohityadav766 Sep 30, 2026
fbda6a4
Merge branch 'main' into feature/28784-sso-test-login-roundtrip
mohityadav766 Sep 30, 2026
064f87c
Keep the Flowable ALTER DATABASE last in the 2.1.0 MySQL migration
mohityadav766 Oct 1, 2026
5274a5f
Fix the two Test Login E2E specs that failed under sso-auth
mohityadav766 Oct 1, 2026
7a91457
Merge remote-tracking branch 'origin/main' into feature/28784-sso-tes…
mohityadav766 Oct 1, 2026
667baa9
Merge branch 'main' into feature/28784-sso-test-login-roundtrip
mohityadav766 Oct 1, 2026
f26508a
End the Test Login credentials step when an attempt fails
mohityadav766 Oct 1, 2026
6b346f7
Keep the Flowable ALTER DATABASE last after merging main again
mohityadav766 Oct 1, 2026
3a1d241
Merge branch 'main' into feature/28784-sso-test-login-roundtrip
mohityadav766 Oct 1, 2026
3670f05
Merge remote-tracking branch 'origin/main' into feature/28784-sso-tes…
mohityadav766 Oct 1, 2026
b973e0b
Ignore Test Login responses that arrive for an abandoned run
mohityadav766 Oct 1, 2026
ff94752
Merge remote-tracking branch 'origin/main' into feature/28784-sso-tes…
mohityadav766 Oct 1, 2026
db36417
Update generated TypeScript types and dereferenced schemas
github-actions[bot] Oct 1, 2026
f19fb14
Merge branch 'main' into feature/28784-sso-test-login-roundtrip
mohityadav766 Oct 1, 2026
f4cbbdf
Merge branch 'main' into feature/28784-sso-test-login-roundtrip
mohityadav766 Oct 2, 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
18 changes: 18 additions & 0 deletions bootstrap/sql/migrations/native/2.1.0/mysql/schemaChanges.sql
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,24 @@ WHERE JSON_UNQUOTE(JSON_EXTRACT(json, '$.name')) = 'DataConsumerPolicy'
AND NOT JSON_CONTAINS(json, JSON_OBJECT('name', 'DataConsumerPolicy-ExecuteSparqlQuery-Rule'), '$.rules')
AND JSON_CONTAINS(json, JSON_OBJECT('effect', 'allow', 'operations', JSON_ARRAY('ViewAll')), '$.rules');

-- SSO Test Login (#28784). A test spans several requests (start, the identity provider's callback,
-- the result polls, the credentials) that can reach different servers, so its state lives here
-- rather than in one server's memory. pending_state holds the candidate configuration with its
-- secrets, Fernet-encrypted, and is cleared when the test completes; rows expire minutes later.
CREATE TABLE IF NOT EXISTS sso_test_login_session (
test_session_id VARCHAR(64) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
admin_principal VARCHAR(256) NOT NULL,
protocol VARCHAR(16) NOT NULL,
status VARCHAR(16) NOT NULL,
pending_state MEDIUMTEXT,
result MEDIUMTEXT,
credentials_submitted_at BIGINT,
expires_at BIGINT NOT NULL,
PRIMARY KEY (test_session_id),
INDEX idx_sso_test_login_session_admin (admin_principal, credentials_submitted_at),
INDEX idx_sso_test_login_session_expires (expires_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Flowable schema upgrades run after this migration and inherit the database default. Existing
-- ACT_* tables are aligned to the same collation by FlowableCharsetMigration.
ALTER DATABASE CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
19 changes: 19 additions & 0 deletions bootstrap/sql/migrations/native/2.1.0/postgres/schemaChanges.sql
Original file line number Diff line number Diff line change
Expand Up @@ -397,3 +397,22 @@ SET json = jsonb_set(
WHERE json->>'name' = 'DataConsumerPolicy'
AND NOT (json->'rules') @> jsonb_build_array(jsonb_build_object('name', 'DataConsumerPolicy-ExecuteSparqlQuery-Rule'))
AND (json->'rules') @> jsonb_build_array(jsonb_build_object('effect', 'allow', 'operations', jsonb_build_array('ViewAll')));

-- SSO Test Login (#28784). A test spans several requests (start, the identity provider's callback,
-- the result polls, the credentials) that can reach different servers, so its state lives here
-- rather than in one server's memory. pending_state holds the candidate configuration with its
-- secrets, Fernet-encrypted, and is cleared when the test completes; rows expire minutes later.
CREATE TABLE IF NOT EXISTS sso_test_login_session (
test_session_id VARCHAR(64) NOT NULL PRIMARY KEY,
admin_principal VARCHAR(256) NOT NULL,
protocol VARCHAR(16) NOT NULL,
status VARCHAR(16) NOT NULL,
pending_state TEXT,
result TEXT,
credentials_submitted_at BIGINT,
expires_at BIGINT NOT NULL
);
CREATE INDEX IF NOT EXISTS idx_sso_test_login_session_admin
ON sso_test_login_session (admin_principal, credentials_submitted_at);
CREATE INDEX IF NOT EXISTS idx_sso_test_login_session_expires
ON sso_test_login_session (expires_at);
Loading
Loading