How to create test account for Apple and Google authentication
Let’s say we want to create a test account to verify authentication for Apple and Google. We are planning to do it the iOS simulator, running from xCode.
Google account
First, go to https://accounts.google.com/ and create a new Google account.
Apple ID
Once you have the gmail.com email, go to https://appleid.apple.com/ and create Apple account.
If you try to login in your iOS simulator, you will get the following errors:
- Could Not Sign In. User name or password is incorrect.
- User name or password is incorrect.
Accept the terms and conditions
Now you need to go to https://www.icloud.com/ and login with your newly created Apple account and accept the Terms and Conditions.
Now you can login into your newly created account in the iOS simulator. You should see this kind of screen as indicator of successful login attempt.