Signin with Apple, the sample iOS Juice app


Alex Zavatone
 

Hi.  I’d like to share what I just played with this morning using Apple’s sample code and see if anyone is seeing the same things.  

The sample app on iOS, Juice, is here and is pretty easy to get up and running on a device.  


I’ve seen a few things that seem odd though and am wondering if anyone else has seen the same.

There are entry fields for UI and password, but you don’t use them at all, assuming that you are already logged in to your device using Signin with Apple.

I’ve tested with faceID and touch ID on devices and in a Simulator.

The first time I auth on one device, my given name and surname are returned but never after that.  They are never returned on the iPad 4.  Any idea why?

This runs fine my iOS 14.6 on my iPhone 11 and iPad 4, I’m able to launch it in a Simulator, but can’t make it past the Apple ID password screen with the continue button.  The wait cursor just keeps spinning and I don’t get any 2FA requests on any of my other devices.  

When using the Sim in this case, it also never times out.  

Is anyone able to make it past auth in a Simulator?

Thanks in advance.
Alex Zavatone


Alex Zavatone
 

Apparently, later than iOS 13.x in the Simulator will not bring up 2FA and break Signin with Apple.

Fun times, fun times.

Cheers,
Alex Zavatone

On Jul 19, 2022, at 11:35 AM, Alex Zavatone via groups.io <zav@...> wrote:

Hi.  I’d like to share what I just played with this morning using Apple’s sample code and see if anyone is seeing the same things.  

The sample app on iOS, Juice, is here and is pretty easy to get up and running on a device.  


I’ve seen a few things that seem odd though and am wondering if anyone else has seen the same.

There are entry fields for UI and password, but you don’t use them at all, assuming that you are already logged in to your device using Signin with Apple.

I’ve tested with faceID and touch ID on devices and in a Simulator.

The first time I auth on one device, my given name and surname are returned but never after that.  They are never returned on the iPad 4.  Any idea why?

This runs fine my iOS 14.6 on my iPhone 11 and iPad 4, I’m able to launch it in a Simulator, but can’t make it past the Apple ID password screen with the continue button.  The wait cursor just keeps spinning and I don’t get any 2FA requests on any of my other devices.  

When using the Sim in this case, it also never times out.  

Is anyone able to make it past auth in a Simulator?

Thanks in advance.
Alex Zavatone