feat: implement basic oauth authentication
This commit is contained in:
parent
9cfc799a9b
commit
d86c86e137
8 changed files with 120 additions and 0 deletions
6
src/auth.ts
Normal file
6
src/auth.ts
Normal 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],
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue