feat(scim): implement SCIM 2.0 user provisioning support

This commit is contained in:
Mauricio Siu
2026-07-08 14:06:22 -06:00
parent 995a04d30f
commit d831607f3a
18 changed files with 9730 additions and 906 deletions
+5
View File
@@ -214,6 +214,11 @@ export const twoFactor = pgTable("two_factor", {
userId: text("user_id")
.notNull()
.references(() => user.id, { onDelete: "cascade" }),
verified: boolean("verified").notNull().default(true),
failedVerificationCount: integer("failed_verification_count")
.notNull()
.default(0),
lockedUntil: timestamp("locked_until"),
});
export const apikey = pgTable("apikey", {