title: Apple SignIn TVOS issue -7014
body: <p>My team and I have been trying to implement Apple ID Sign in for both iOS and tvOS applications. iOS is able to sign in with Apple ID just fine with the same code, but whenever we tried to sign in through our tvOS app, it gives us the following error:</p>
  
  <blockquote>
    <p>[core] Authorization failed: Error Domain=AKAuthenticationError
    Code=-7014 "(null)" UserInfo={AKClientBundleID=[bundleID]}</p>
  </blockquote>
  
  <p>Here is our code:</p>
  
  <pre><code>extension LogInViewController: ASAuthorizationControllerDelegate, ASAuthorizationControllerPresentationContextProviding {
  
  @objc func userDidTapSignInWithAppleButton(){
      let appleIDProvider = ASAuthorizationAppleIDProvider()
      let request = appleIDProvider.createRequest()
      request.requestedScopes = [.fullName, .email]
  
      let authorizationController = ASAuthorizationController(authorizationRequests: [request])
      authorizationController.delegate = self
      authorizationController.presentationContextProvider = self
      authorizationController.performRequests()
  }
  
  
  //MARK: ASAuthorizationControllerDelegate
  
  func authorizationController(controller: ASAuthorizationController, didCompleteWithAuthorization authorization: ASAuthorization) {
  
  }
  
  func authorizationController(controller: ASAuthorizationController, didCompleteWithError error: Error) {
     print(error)
  }
  
  
  //MARK: ASAuthorizationControllerPresentationContextProviding
  
  func presentationAnchor(for controller: ASAuthorizationController) -&gt; ASPresentationAnchor {
      return view.window!
  }
  }
  </code></pre>
  
  <p>We have "Sign in With Apple" capabilities Turned on in XCode, and our Identifier for tvOS app is using the same Group App ID as the iOS Identifier so it seems to be fine. There isn't any forums that give this exact error. Can anyone explain what this error code -7104 means, and what can we do to resolve it? Thank you.</p>