Access Google Account Settings
accounts.google.com
Navigate to Security Settings
Scroll down to the 'How you sign in to Google' and click on the 'Authenticator' option
Click on 'Add Authenticator' (if you have added one already, click 'Change Authenticator App')
Access OTP Secret
Create Test Account in Stably
For the OTP Secret, copy paste the OTP secret from the earlier Google Accounts page
In Stably, you'll see an OTP with a 30 second timer, click on the 'Copy OTP' button to copy this
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
Back in Stably, click 'Add Test Account' to finish Test Account creation
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)
You can now use this Google OAuth account in tests