From 0eb2e34e60b2ac16176a98fed929fee7ed6afafc Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Tue, 15 Apr 2025 09:47:47 +0200 Subject: [PATCH] Auto stash before merge of "main" and "origin/main" --- src/auth.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/auth.ts b/src/auth.ts index 031fbef..b746a2c 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -4,6 +4,20 @@ import { createAuthClient } from "better-auth/solid"; import { genericOAuthClient } from "better-auth/client/plugins"; export const auth = betterAuth({ + appName: 'Streamarr', + basePath: '/api/auth', + advanced: { + useSecureCookies: true, + crossSubDomainCookies: { + enabled: true, + }, + }, + logger: { + level: 'debug', + }, + onAPIError: { + throw: true, + }, plugins: [ genericOAuth({ config: [