Auto stash before merge of "main" and "origin/main"
This commit is contained in:
parent
44fa60a04f
commit
0eb2e34e60
1 changed files with 14 additions and 0 deletions
14
src/auth.ts
14
src/auth.ts
|
@ -4,6 +4,20 @@ import { createAuthClient } from "better-auth/solid";
|
||||||
import { genericOAuthClient } from "better-auth/client/plugins";
|
import { genericOAuthClient } from "better-auth/client/plugins";
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
|
appName: 'Streamarr',
|
||||||
|
basePath: '/api/auth',
|
||||||
|
advanced: {
|
||||||
|
useSecureCookies: true,
|
||||||
|
crossSubDomainCookies: {
|
||||||
|
enabled: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
logger: {
|
||||||
|
level: 'debug',
|
||||||
|
},
|
||||||
|
onAPIError: {
|
||||||
|
throw: true,
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
genericOAuth({
|
genericOAuth({
|
||||||
config: [
|
config: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue