diff --git a/app/auth/callback/route.ts b/app/auth/callback/route.ts
deleted file mode 100644
index e2e56f2..0000000
--- a/app/auth/callback/route.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { createClient } from '@/lib/supabase/server'
-import { NextResponse } from 'next/server'
-
-export async function GET(request: Request) {
- const { searchParams, origin } = new URL(request.url)
- const code = searchParams.get('code')
- const next = searchParams.get('next') ?? '/'
-
- if (code) {
- const supabase = createClient()
- const { error } = await supabase.auth.exchangeCodeForSession(code)
- if (!error) {
- return NextResponse.redirect(`${origin}${next}`)
- }
- }
-
- return NextResponse.redirect(`${origin}/auth/auth-code-error`)
-}
\ No newline at end of file
diff --git a/components/auth-button.tsx b/components/auth-button.tsx
deleted file mode 100644
index f5204c7..0000000
--- a/components/auth-button.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-"use client"
-
-import { createClient } from '@/lib/supabase/client'
-import { Button } from './ui/button'
-import { LogIn, LogOut, User } from 'lucide-react'
-import {
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuItem,
- DropdownMenuLabel,
- DropdownMenuSeparator,
- DropdownMenuTrigger,
-} from "@/components/ui/dropdown-menu"
-
-export function AuthButton({ user }: { user: any }) {
- const supabase = createClient()
-
- const handleSignIn = async () => {
- await supabase.auth.signInWithOAuth({
- provider: 'vatsim',
- options: {
- redirectTo: `${location.origin}/auth/callback`,
- },
- })
- }
-
- const handleSignOut = async () => {
- await supabase.auth.signOut()
- window.location.reload()
- }
-
- if (user) {
- return (
-
-
-
-
-
- Account
-
-
-
- Sign Out
-
-
-
- )
- }
-
- return (
-
- )
-}
\ No newline at end of file