client/src/auth.ts (view raw)
1 2 3 4 5 6
import { SvelteKitAuth } from '@auth/sveltekit'; import GitHub from '@auth/sveltekit/providers/github'; export const { handle, signIn, signOut } = SvelteKitAuth({ providers: [GitHub] });