From 3e86b341163b0e3fc3eb35c5c3e08296bb671791 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Sun, 26 Apr 2026 12:12:18 -0500 Subject: [PATCH] fix: correct WebAuthn origin to HTTPS default for passkey plugin --- lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth.ts b/lib/auth.ts index 3bf8fde..5208f4c 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -23,7 +23,7 @@ export const auth = betterAuth({ passkey({ rpID: process.env.RP_ID ?? 'localhost', rpName: 'DeckyVault', - origin: process.env.BETTER_AUTH_URL ?? 'http://localhost:3000', + origin: process.env.BETTER_AUTH_URL ?? 'https://localhost:3000', }), lastLoginMethod({ storeInDatabase: true,