refactor: fix all lint errors and improve code quality

This commit is contained in:
Rasmus Q
2026-03-15 21:10:58 +00:00
parent f739288866
commit 8d9acf3d43
32 changed files with 70 additions and 66 deletions
+9 -1
View File
@@ -10,11 +10,19 @@ import bcrypt from 'bcrypt';
import { env } from '$env/dynamic/private';
import type { SvelteKitAuthConfig } from '@auth/sveltekit';
interface AuthentikProfile {
sub: string;
email: string;
name?: string;
preferred_username?: string;
picture?: string;
}
function Authentik(config: {
clientId: string;
clientSecret: string;
issuer: string;
}): OAuthConfig<any> {
}): OAuthConfig<AuthentikProfile> {
return {
id: 'authentik',
name: 'Authentik',