: 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.
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?
More posts by @Sue5673885
3 Comments
Sorted by latest first Latest Oldest Best
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.
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.
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.