- Add email/code login with verification - Add Google OAuth login - Add desktop callback API route - Add request service with device ID handling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
425 B
TypeScript
15 lines
425 B
TypeScript
'use client'
|
|
|
|
import { GoogleOAuthProvider } from '@react-oauth/google'
|
|
|
|
// Google OAuth Client ID
|
|
// TODO: Move to environment variable
|
|
const GOOGLE_CLIENT_ID = '69015293368-pg96qdahu57g8nb0oi1abv2j3qbqrshq.apps.googleusercontent.com'
|
|
|
|
export function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<GoogleOAuthProvider clientId={GOOGLE_CLIENT_ID}>
|
|
{children}
|
|
</GoogleOAuthProvider>
|
|
)
|
|
}
|