More
This commit is contained in:
parent
f261a0eebe
commit
cc1c24718e
10 changed files with 1844 additions and 1712 deletions
3
auth.ts
3
auth.ts
|
|
@ -13,7 +13,6 @@ declare module 'next-auth' {
|
|||
export const {
|
||||
handlers: { GET, POST },
|
||||
auth,
|
||||
CSRF_experimental // will be removed in future
|
||||
} = NextAuth({
|
||||
providers: [GitHub],
|
||||
callbacks: {
|
||||
|
|
@ -31,4 +30,4 @@ export const {
|
|||
pages: {
|
||||
signIn: '/sign-in' // overrides the next-auth default signin page https://authjs.dev/guides/basics/pages
|
||||
}
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue