Skip to content

Commit f8b556a

Browse files
Wire full Better Auth flow with feature flags + callback normalizer (#268)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2c6d190 commit f8b556a

64 files changed

Lines changed: 2355 additions & 259 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
OPENKITTEN_LOCAL=
2+
3+
OPENKITTEN_MAGIC_LINK_ENABLED=
4+
OPENKITTEN_PASSKEY_ENABLED=
5+
6+
GOOGLE_CLIENT_ID=
7+
GOOGLE_CLIENT_SECRET=
8+
9+
GITHUB_CLIENT_ID=
10+
GITHUB_CLIENT_SECRET=
11+
12+
SMTP_HOST=
13+
SMTP_USER=
14+
SMTP_PASS=
15+
SMTP_FROM=

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"**/*.db-shm": true,
1414
"**/dist": true,
1515
"**/coverage": true,
16-
"**/.vendor": true
16+
"**/.vendor": true,
17+
"**/.react-router": true
1718
}
1819
}

bun.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
CREATE TABLE "passkey" (
2+
"id" text PRIMARY KEY NOT NULL,
3+
"name" text,
4+
"public_key" text NOT NULL,
5+
"user_id" text NOT NULL,
6+
"credential_id" text NOT NULL,
7+
"counter" integer NOT NULL,
8+
"device_type" text NOT NULL,
9+
"backed_up" boolean NOT NULL,
10+
"transports" text,
11+
"created_at" timestamp,
12+
"aaguid" text
13+
);
14+
--> statement-breakpoint
15+
ALTER TABLE "passkey" ADD CONSTRAINT "passkey_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
16+
CREATE INDEX "passkey_userId_idx" ON "passkey" USING btree ("user_id");--> statement-breakpoint
17+
CREATE INDEX "passkey_credentialID_idx" ON "passkey" USING btree ("credential_id");

0 commit comments

Comments
 (0)