Mobile app version of vmapp.org
Login or Join
Sue5673885

: Can I create test accounts in Google for testing Oauth in my application? My app contains Sign in from Google function that uses Oauth. To test it I'd want to create test accounts at Google.

@Sue5673885

Posted in: #Authentication #Google

My app contains Sign in from Google function that uses Oauth. To test it I'd want to create test accounts at Google. But Google doesn't allow me to create ordinary accounts without entering captcha so I can't create ordinary accounts for testing.

Can I create test accounts in Google to test Oauth in my application?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

3 Comments

Sorted by latest first Latest Oldest Best

 

@Dunderdale272

Like Stephen Ostermiller suggests you can make a seperate test account. In addition you can change or revoke the app access in your Sign-in & security settings in your desired google account. This is what I use to test different functionality of my Google+ integration. I think that is the most easy option since Google does not have any sandbox accounts as far as I know.

10% popularity Vote Up Vote Down


 

@Heady270

I usually create a single test account and use it over and over again rather than create a new account each time the test is run. I don't know of any way to create a Google account using automated test scripts.

The alternative would be to build a backdoor into your application login. Something that creates a test account on your site without using Google login that can be used by your test scripts but which is not available to users on your site.

10% popularity Vote Up Vote Down


 

@Gloria169

In Google using GMail, you can use dots to make multiple email accounts that all reroute to your main email account. Here are the directions from Google's Help Reference.
support.google.com/mail/answer/8158?hl=en

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme