Init project. Set up auth & db
This commit is contained in:
6
src/auth.ts
Normal file
6
src/auth.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import NextAuth from "next-auth"
|
||||
import GitHub from "next-auth/providers/github"
|
||||
|
||||
export const { handlers, auth, signIn, signOut } = NextAuth({
|
||||
providers: [ GitHub ],
|
||||
})
|
Reference in New Issue
Block a user