github auth

This commit is contained in:
Timur Ercan
2022-12-08 22:42:19 +01:00
parent f0f85ecc27
commit 1101251276
6 changed files with 243 additions and 21 deletions

View File

@ -0,0 +1,11 @@
import NextAuth from "next-auth";
import GitHubProvider from "next-auth/providers/github";
export default NextAuth({
providers: [
GitHubProvider({
clientId: "",
clientSecret: "",
}),
],
});