Stably enables seamless Google OAuth authentication in our tests. With our built-in support, you can easily verify your Google integrations work correctly.

Setup Steps

1

Access Google Account Settings

Sign in to your test Google Workspace account at accounts.google.com

2

Navigate to Security Settings

Select ‘Security’ from the left sidebar menu

3

Scroll down to the 'How you sign in to Google' and click on the 'Authenticator' option

4

Click on 'Add Authenticator' (if you have added one already, click 'Change Authenticator App')

Note: This will invalidate your previous Authenticator app setup.

5

Access OTP Secret

When the QR code popup appears:

  1. Click ‘Can’t scan QR code’
  2. This will reveal the OTP secret in text format
6

Create Test Account in Stably

  1. Open app.stably.ai in a new tab
  2. Navigate to Test Data > Test Accounts
  3. Click ‘Add Test Account’
  4. Select ‘Google’ as the account type
  5. Fill in the required details
7

For the OTP Secret, copy paste the OTP secret from the earlier Google Accounts page

8

In Stably, you'll see an OTP with a 30 second timer, click on the 'Copy OTP' button to copy this

9

Go back to the Google Accounts and in the pop-up that's open, click 'Next', paste the copied OTP, and click 'Verify' again to verify and finish the Authenticator setup

10

Back in Stably, click 'Add Test Account' to finish Test Account creation

11

Go back to Google Accounts page, turn on 2FA, and under the 'Second Steps' section, make sure only the Authenticator is valid (you might have to sign out of the Google Account on mobile devices)

12

You can now use this Google OAuth account in tests