Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
7c5be2f
feat: add options to restrict certain namespaces to certain login met…
JivusAyrus May 20, 2026
7011ecf
Merge branch 'main' of github.com:wundergraph/cosmo into suvij/eng-92…
JivusAyrus May 20, 2026
4d69a9e
fix: lint
JivusAyrus May 20, 2026
2103b15
fix: lint
JivusAyrus May 20, 2026
d2c07d1
fix: lint
JivusAyrus May 20, 2026
74c49c9
fix: lint
JivusAyrus May 20, 2026
09e262e
fix: lint
JivusAyrus May 20, 2026
563e720
fix: tests
JivusAyrus May 21, 2026
5bc1d32
fix: tests
JivusAyrus May 21, 2026
e6a980d
fix: remove redundant provider ID checks in OIDC provider functions
JivusAyrus May 21, 2026
8a806eb
fix: update default SSO label in UserMenu component
JivusAyrus May 21, 2026
80d4b2a
fix: update visibility condition in NamespaceSelector component
JivusAyrus May 21, 2026
f2d33f7
fix: update OIDC provider tests to use specific provider name
JivusAyrus May 21, 2026
a4de748
feat: add tests
JivusAyrus May 21, 2026
0b4ceed
feat: add tests
JivusAyrus May 21, 2026
4e7c840
Merge branch 'main' into suvij/eng-9245-controlplane-different-auth-p…
JivusAyrus May 21, 2026
d37fe97
feat: implement authentication checks for federated and subgraph acce…
JivusAyrus May 21, 2026
322b883
fix: replace dynamic ID generation with static namespace identifiers …
JivusAyrus May 21, 2026
b26fdd7
Merge branch 'suvij/eng-9245-controlplane-different-auth-providers-fo…
JivusAyrus May 21, 2026
07c4b1d
fix: pr suggestions
JivusAyrus May 21, 2026
8086f2b
fix: lint
JivusAyrus May 21, 2026
e212dc8
feat: refactor IdP namespace access handling and update related tests
JivusAyrus May 22, 2026
faeeb4e
feat: update authentication handling to use typed LoginMethod and imp…
JivusAyrus May 22, 2026
1726493
fix: lint
JivusAyrus May 22, 2026
3bc1684
feat: implement listNamespaceSSOMappings API and UI for managing SSO …
JivusAyrus May 22, 2026
3d6906b
fix: lint
JivusAyrus May 22, 2026
a3e4937
feat: add support for social login providers (Google, GitHub) in name…
JivusAyrus May 22, 2026
74704ea
feat: add validation to prevent duplicate namespaces in updateNamespa…
JivusAyrus May 22, 2026
4dfd519
fix: lint
JivusAyrus May 22, 2026
7d4bdc5
fix: lint
JivusAyrus May 22, 2026
eb50b3c
refactor: remove idpNamespaceAccess from auth context and related fun…
JivusAyrus May 22, 2026
4069027
chore: add docs
JivusAyrus May 22, 2026
385482a
Merge branch 'main' into suvij/eng-9245-controlplane-different-auth-p…
JivusAyrus May 22, 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
5,529 changes: 3,099 additions & 2,430 deletions connect-go/gen/proto/wg/cosmo/platform/v1/platform.pb.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

35 changes: 34 additions & 1 deletion connect/src/wg/cosmo/platform/v1/platform_connect.ts

Large diffs are not rendered by default.

481 changes: 481 additions & 0 deletions connect/src/wg/cosmo/platform/v1/platform_pb.ts

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions controlplane/migrations/0139_nappy_fallen_one.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
CREATE TABLE IF NOT EXISTS "namespace_sso_providers" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"namespace_id" uuid NOT NULL,
"sso_provider_id" uuid,
"is_password_login" boolean DEFAULT false NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
CONSTRAINT "nssp_xor_check" CHECK (("namespace_sso_providers"."sso_provider_id" IS NOT NULL) <> "namespace_sso_providers"."is_password_login")
);
--> statement-breakpoint
ALTER TABLE "oidc_providers" ADD COLUMN "created_at" timestamp with time zone DEFAULT now() NOT NULL;--> statement-breakpoint
ALTER TABLE "sessions" ADD COLUMN "idp_alias" text;--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "namespace_sso_providers" ADD CONSTRAINT "namespace_sso_providers_namespace_id_namespaces_id_fk" FOREIGN KEY ("namespace_id") REFERENCES "public"."namespaces"("id") ON DELETE cascade ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
DO $$ BEGIN
ALTER TABLE "namespace_sso_providers" ADD CONSTRAINT "namespace_sso_providers_sso_provider_id_oidc_providers_id_fk" FOREIGN KEY ("sso_provider_id") REFERENCES "public"."oidc_providers"("id") ON DELETE cascade ON UPDATE no action;
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "nssp_namespace_id_idx" ON "namespace_sso_providers" USING btree ("namespace_id");--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "nssp_sso_provider_id_idx" ON "namespace_sso_providers" USING btree ("sso_provider_id");--> statement-breakpoint
CREATE UNIQUE INDEX IF NOT EXISTS "nssp_unique_sso" ON "namespace_sso_providers" USING btree ("namespace_id","sso_provider_id") WHERE "namespace_sso_providers"."sso_provider_id" IS NOT NULL;--> statement-breakpoint
CREATE UNIQUE INDEX IF NOT EXISTS "nssp_unique_password" ON "namespace_sso_providers" USING btree ("namespace_id") WHERE "namespace_sso_providers"."is_password_login" = true;
Loading
Loading