Posts

Post not yet marked as solved
1 Replies
688 Views
Context I'm having trouble reproducing the behaviour that i'm seeing in the Juice sample app provided by Apple here, using the below code to trigger both the sign up & login flow. 		let appleIDProvider = ASAuthorizationAppleIDProvider() 		let request = appleIDProvider.createRequest() 		request.requestedScopes = [.email] 		 		let authorizationController = ASAuthorizationController(authorizationRequests: [request]) 		authorizationController.delegate = self 		authorizationController.presentationContextProvider = self 		authorizationController.performRequests() Expected behaviour Running the above code shows the dialog to "Create an account" as expected on first login. On subsequent logins it will not show the "Create an account" modal, and show the "Sign in" modal so the user just needs to re authenticate. Problem My problem is that the "Create an account" modal shows every time I log out and log back into my app. The expected behaviour as seen in the Juice sample app, is that on the second time logging into the application, it will not show the "Create an account" modal, but rather the "Sign in" modal. I am testing this on device and have tried to delete app & revoke access from Password & Security settings but still no luck. Has anyone got an idea of why the "Create an account" screen is showing every time for me on re-login? Thanks in advance
Posted
by harryblam.
Last updated
.