Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sign in with Apple test users

Where could I create random test users in order to test "Sign in with Apple" ? The sandbox users created for Apple pay doesn't work for this too.

like image 809
Federico Malagoni Avatar asked Oct 17 '19 16:10

Federico Malagoni


People also ask

Is Sign in with Apple a good idea?

Sign in with Apple is a secure and easy way to sign into your apps and online accounts. Sign in with Apple is a privacy tool that can help improve your online security when signing in to third-party apps and websites on your Apple devices with your Apple ID.

Is Sign in with Apple OAuth?

How Sign In with Apple Works (Hint: it uses OAuth and OIDC) Thankfully, Apple adopted the existing open standards OAuth 2.0 and OpenID Connect to use as the foundation for their new API. While they don't explicitly call out OAuth or OIDC in their documentation, they use all the same terminology and API calls.

How do I log into my Apple sandbox account?

In macOS, the sandbox account appears in App Store Preferences after the first time you use the device to make an in-app purchase. Open App Store > Preferences and click the Sign In button to sign in using a Sandbox Apple ID. When you're done testing, sign out of the Sandbox Apple ID from the App Store Preferences.


1 Answers

There is no "test users" for Sign In with Apple, yet.

You need to use real accounts.

Update: I had a call with an Apple engineer for during a WWDC 1-on-1 lab. They suggested a method to re-use the same account for Sign in with Apple. The downside with this method is that it will NOT return realUserStatus after the first login. Here is the method:

In iOS, go to the settings> Your name on top (Apple ID, iCloud, etc) > Password & security > Apps using your Apple ID > Edit and delete your app.

Now when you login, every thing should work as if it is the first time using Apple Sign In, except the realUserIndicator.

like image 60
Hamoonist Avatar answered Oct 13 '22 01:10

Hamoonist