mirror of
https://github.com/r-freeman/portfolio.git
synced 2025-04-21 23:04:37 +00:00
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 3m11s
11 lines
299 B
TypeScript
11 lines
299 B
TypeScript
import NextAuth from 'next-auth'
|
|
import GitHub from 'next-auth/providers/github'
|
|
|
|
export const {handlers, signIn, signOut, auth} = NextAuth({
|
|
providers: [
|
|
GitHub({
|
|
clientId: process.env.GITHUB_CLIENT_ID,
|
|
clientSecret: process.env.GITHUB_SECRET
|
|
})
|
|
]
|
|
}) |