add segfaultapi functionality and use postgres

This commit is contained in:
2022-12-30 19:02:49 +02:00
parent daaca19af8
commit a846dd1e2d
48 changed files with 1576 additions and 377 deletions
+14
View File
@@ -0,0 +1,14 @@
import { SvelteKitAuth } from "@auth/sveltekit"
import Authentik from '@auth/core/providers/authentik';
import config from "$lib/config";
export const handle = SvelteKitAuth({
providers: [
//@ts-ignore
Authentik({
clientId: config.app.auth.clientId,
clientSecret: config.app.auth.clientSecret,
issuer: config.app.auth.issuer
})
]
})