mirror of
https://github.com/documenso/documenso.git
synced 2025-11-19 03:01:59 +10:00
github auth
This commit is contained in:
11
apps/web/pages/api/auth/[...nextauth].ts
Normal file
11
apps/web/pages/api/auth/[...nextauth].ts
Normal file
@ -0,0 +1,11 @@
|
||||
import NextAuth from "next-auth";
|
||||
import GitHubProvider from "next-auth/providers/github";
|
||||
|
||||
export default NextAuth({
|
||||
providers: [
|
||||
GitHubProvider({
|
||||
clientId: "",
|
||||
clientSecret: "",
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user