Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkit-30 committed Sep 28, 2024
1 parent 28233f2 commit 59fe475
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app/api/auth/[...nextauth]/auth-options.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { PrismaAdapter } from '@next-auth/prisma-adapter';
import type { NextAuthOptions } from 'next-auth';
import GitHubProvider from 'next-auth/providers/github';

import { env } from '@/env.mjs';
// import GitHubProvider from 'next-auth/providers/github';
// import { env } from '@/env.mjs';
import prisma from '@/lib/prisma';
import { stripeServer } from '@/lib/stripe';

export const authOptions: NextAuthOptions = {
adapter: PrismaAdapter(prisma),
providers: [
GitHubProvider({
clientId: env.GITHUB_ID,
clientSecret: env.GITHUB_SECRET,
}),
// GitHubProvider({
// clientId: env.GITHUB_ID,
// clientSecret: env.GITHUB_SECRET,
// }),
],
callbacks: {
async session({ session }) {
Expand Down

0 comments on commit 59fe475

Please sign in to comment.