feat: move sso and ldap logins into plugins (C2)

This commit is contained in:
LukeGus committed 2026-09-24 18:23:20 -05:00
1 parent 5c18435105
commit 925da4a661
223 files changed
+25778 -6820

No files matched your search

@@ -0,0 +1,14 @@
-- sso 0001: adopt_sso_providers
-- Generated by termix-plugin migrations. Review before committing.
CREATE TABLE IF NOT EXISTS "sso_providers" (
"id" integer PRIMARY KEY AUTOINCREMENT,
"name" text NOT NULL,
"type" text NOT NULL,
"enabled" integer NOT NULL DEFAULT 1,
"display_order" integer NOT NULL DEFAULT 0,
"config" text NOT NULL,
"created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updated_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP
);
ALTER TABLE "sso_providers" RENAME TO "p_sso_providers";
@@ -0,0 +1,7 @@
-- sso 0002: legacy_callback
-- Generated by termix-plugin migrations. Review before committing.
ALTER TABLE "p_sso_providers" ADD COLUMN "legacy_callback" integer NOT NULL DEFAULT 0;
-- Providers that existed before 2.9 were registered with the identity
-- provider under /users/oidc/callback, so they keep sending that URI.
UPDATE "p_sso_providers" SET "legacy_callback" = 1;