Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Merged Successfull
Browse files Browse the repository at this point in the history
  • Loading branch information
schromya committed Nov 2, 2023
1 parent dd5f5ac commit 15d53bd
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 187 deletions.
23 changes: 0 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 0 additions & 54 deletions src/api/api/auth/[...nextauth]/options.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/api/api/auth/[...nextauth]/route.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/api/api/auth/auth.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/api/mongoData.js

This file was deleted.

41 changes: 0 additions & 41 deletions src/api/mongoModels.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { NextAuthOptions } from 'next-auth';
//import type { NextAuthOptions } from 'next-auth';
import GitHubProvider from 'next-auth/providers/github';
import GoogleProvider from 'next-auth/providers/google';
//import Credentials from 'next-auth/providers/credentials'

export const options: NextAuthOptions = {
export const options = {
//configure one or more authentication providers
providers: [
//github nextauth docs: https://next-auth.js.org/providers/github
GitHubProvider({
clientId: process.env.GITHUB_ID as string,
clientSecret: process.env.GITHUB_SECRET as string,
clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET,
}),
//google nextauth docs: https://next-auth.js.org/providers/google
GoogleProvider({
Expand Down
1 change: 0 additions & 1 deletion src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import LeftSidebar from '../components/LeftSidebar'
import Navbar from '../components/Navbar'
import NewProjectModal from '../components/NewProjectModal'
import { ApiResponseProvider } from './ApiResponseContext'
import AuthProvider from '../context/AuthProvider'


export const metadata = {
Expand Down
File renamed without changes.
34 changes: 0 additions & 34 deletions tsconfig.json

This file was deleted.

0 comments on commit 15d53bd

Please sign in to comment.