create-t3-app-fork
Version:
Create web application with the t3 stack
14 lines (12 loc) • 356 B
text/typescript
import NextAuth from "next-auth";
import GithubProvider from "next-auth/providers/github";
export default NextAuth({
// Configure one or more authentication providers
providers: [
GithubProvider({
clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET,
}),
// ...add more providers here
],
});