authjs #2
4
auth.ts
4
auth.ts
@ -1,6 +1,6 @@
|
|||||||
import NextAuth from "next-auth"
|
import NextAuth from "next-auth"
|
||||||
import github from "next-auth/providers/github"
|
import GitHub from "next-auth/providers/github"
|
||||||
|
|
||||||
export const { handlers, signIn, signOut, auth } = NextAuth({
|
export const { handlers, signIn, signOut, auth } = NextAuth({
|
||||||
providers: [github],
|
providers: [GitHub],
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user