update
Build Full Stack / release-image (push) Successful in 5m20s

This commit is contained in:
2026-03-28 04:27:38 +01:00
parent 99001f28b1
commit aac328e8ef
8 changed files with 644 additions and 127 deletions

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import { betterAuth } from "better-auth";
import { genericOAuth } from "better-auth/plugins";
import { nextCookies } from "better-auth/next-js";
export const auth = betterAuth({
plugins: [nextCookies(), genericOAuth({
config: [
{
providerId: "authentik",
clientId: process.env.OATH_CLIENT_ID || '',
clientSecret: process.env.OATH_SECRET_KEY,
discoveryUrl: process.env.OATH_DISCOVERY_URL
// ... other config options
},
// Add more providers as needed
]
})]
});