Trigger Google Sign In
Triggers the Google OAuth sign-in flow. On localhost this opens a popup; on production it performs a page redirect to Google. The tool returns immediately — the actual sign-in result is handled asynchronously by the auth state listener which then redirects to the target app. Only call this when the user is not already signed in (check readAuthState first).
When to Use
- User is not signed in
How to Use
Location: Login card — 'Continue with Google' button
- Call triggerGoogleSignIn to start the OAuth flow
What to Expect
Google sign-in popup (localhost) or redirect (production) is triggered
Prerequisites
- User must not already be signed in
Limitations
- On production, triggers a full-page redirect — the tool response is sent before the page navigates away
- Cannot complete the Google OAuth flow headlessly — requires browser interaction