added auth
This commit is contained in:
parent
239f0aac55
commit
0ff47a493d
1 changed files with 0 additions and 5 deletions
|
|
@ -5,7 +5,6 @@ import {
|
|||
type DefaultSession,
|
||||
} from "next-auth";
|
||||
import GoogleProvider from "next-auth/providers/google";
|
||||
import GitHubProvider from "next-auth/providers/github";
|
||||
import { PrismaAdapter } from "@next-auth/prisma-adapter";
|
||||
import { env } from "~/env.mjs";
|
||||
import { prisma } from "~/server/db";
|
||||
|
|
@ -59,10 +58,6 @@ export const authOptions: NextAuthOptions = {
|
|||
}),
|
||||
]
|
||||
: []),
|
||||
GitHubProvider({
|
||||
clientId: env.GITHUB_ID,
|
||||
clientSecret: env.GITHUB_SECRET,
|
||||
}),
|
||||
AuthentikProvider({
|
||||
clientId: process.env.AUTHENTIK_ID,
|
||||
clientSecret: process.env.AUTHENTIK_SECRET,
|
||||
|
|
|
|||
Loading…
Reference in a new issue