feat: implement basic oauth authentication

This commit is contained in:
Maximilian Liebmann 2025-04-18 21:05:49 +02:00 committed by SomeCodecat
parent 9cfc799a9b
commit d86c86e137
8 changed files with 120 additions and 0 deletions

6
src/auth.ts Normal file
View file

@ -0,0 +1,6 @@
import NextAuth from 'next-auth';
import Authentik from 'next-auth/providers/authentik';
export const { handlers, signIn, signOut, auth } = NextAuth({
providers: [Authentik],
});