Implement Single Sign-On (SSO) Feature: Add SSO settings page, integrate OIDC provider registration dialog, and update dependencies for better-auth to version 1.4.18. Enhance user interface with new SSO menu item and improve database schema for SSO providers.

This commit is contained in:
Mauricio Siu
2026-01-29 22:01:48 -06:00
parent 2e7f4dc1a2
commit 7f27601f7f
18 changed files with 9691 additions and 281 deletions
+2 -1
View File
@@ -10,7 +10,7 @@ import {
import { createInsertSchema } from "drizzle-zod";
import { nanoid } from "nanoid";
import { z } from "zod";
import { account, apikey, organization } from "./account";
import { account, apikey, organization, ssoProvider } from "./account";
import { backups } from "./backups";
import { projects } from "./project";
import { schedules } from "./schedule";
@@ -69,6 +69,7 @@ export const usersRelations = relations(user, ({ one, many }) => ({
references: [account.userId],
}),
organizations: many(organization),
ssoProviders: many(ssoProvider),
projects: many(projects),
apiKeys: many(apikey),
backups: many(backups),