diff --git a/frontend/src/routes/AuthDebug.tsx b/frontend/src/routes/AuthDebug.tsx index f1488a1a2..9280f1f08 100644 --- a/frontend/src/routes/AuthDebug.tsx +++ b/frontend/src/routes/AuthDebug.tsx @@ -92,7 +92,7 @@ export default function AuthDebug() { alert(`Cleared ${keys.length} auth-related localStorage keys`) } - const testSignIn = async (provider: 'github' | 'google' | 'facebook' = 'github') => { + const testSignIn = async (provider: 'github' | 'google' | 'facebook' | 'linkedin_oidc' = 'github') => { try { // Supabase redirects back to your app after OAuth const redirectTo = `${window.location.origin}/auth/callback` @@ -103,6 +103,8 @@ export default function AuthDebug() { redirectTo, queryParams: provider === 'facebook' ? { scope: 'email' } + : provider === 'linkedin_oidc' + ? { scope: 'openid profile email' } : { access_type: 'offline', prompt: 'consent', @@ -350,6 +352,13 @@ export default function AuthDebug() { Test Facebook Sign In + + {session && ( + + {/* LinkedIn */} + {/* Footer */}