Posts

Post marked as solved
6 Replies
8.6k Views
I am receiving this error in some cases when calling performRequests on an ASAuthorizationController.Authorization failed: Error Domain=AKAuthenticationError Code=-7001 "(null)"The full code is as follows ASAuthorizationAppleIDRequest *appleIdRequest = [[[ASAuthorizationAppleIDProvider alloc] init] createRequest]; appleIdRequest.requestedScopes = @[ASAuthorizationScopeEmail, ASAuthorizationScopeFullName]; ASAuthorizationPasswordRequest *passwordRequest = [[[ASAuthorizationPasswordProvider alloc] init] createRequest]; ASAuthorizationController *controller = [[ASAuthorizationController alloc] initWithAuthorizationRequests:@[appleIdRequest, passwordRequest]]; controller.delegate = self; controller.presentationContextProvider = self; [controller performRequests];This happens consistently on the simulator, and inconsistently on device. I can't seem to find what's causing the issue.Any help would be greatly appreciated.
Posted
by ClayJones.
Last updated
.