Back to Authentication
HIGHHappy Path

Google Sign-In

Verify that users can sign in or register using their Google account. This flow handles both new user creation and existing user login via OAuth.

5 steps
~3 min
auth-3

Preconditions

  • You have a valid Google account
  • You are not currently logged in to the application
  • Pop-ups are enabled in your browser for OAuth flow

Test Data

Use a Google account. Test with both a new Google account (for registration) and an existing Google-linked account (for login).

Test Steps

Follow each step carefully

0/5

Navigate to the login or registration page

Location

Click "Log In" or "Sign Up" in the navigation

Verify

Login/registration page is displayed with Google Sign-In option

Click the "Sign in with Google" or "Continue with Google" button

Location

Google branded button, usually with Google logo

Verify

Google OAuth popup or redirect initiates

Select your Google account or enter Google credentials

Location

Google account picker or login form

Verify

Google authenticates your account

Note

If already logged into Google, you may only need to select the account

Review and accept permission requests (first time only)

Location

Google consent screen showing requested permissions

Verify

Permissions granted; redirect back to application

Note

This step only appears for first-time Google sign-in

Verify the application receives Google authentication

Location

Application should process the OAuth callback

Verify

User is authenticated and redirected appropriately

Expected Result

After successful Google Sign-In: (1) For new users: account is created using Google profile data, is_new_user flag is true in response, (2) For existing users: user is logged in, is_new_user flag is false, (3) JWT tokens are returned and stored, (4) User is redirected to dashboard or onboarding as appropriate, (5) Google profile picture and name may be synced to user profile.

Ready to Complete?

Click when you have verified all steps and the expected result.

Test Info

Module
Authentication
Steps
5
Duration
3 min
XP Value
+30