I am trying to prepare my app for the iOS13 "Sign in with Apple" feature. I have implemented the ASAuthorizationControllerDelegate methods and set my ASAuthorizationController's delegate. When I tap the sign in with Apple button, after I enter the password there is no response. The password is correct (I know this because the field shakes when incorrect), however nothing happens. The sign in dialog doesn't dismiss and the delegates aren't called.
@available(iOS 13.0, *)
@objc private func didTapAppleButton() {
let request = ASAuthorizationAppleIDProvider().createRequest()
request.requestedScopes = [.fullName, .email]
let vc = ASAuthorizationController(authorizationRequests: [request])
vc.presentationContextProvider = self
vc.delegate = self
vc.performRequests()
}
Does anyone else have this issue?

Answering my own question here. Need to go to developer.apple.com and navigate to Certificates, Identifiers & Profiles. Then under Identifiers choose the relevant app id and then add the Sign In with Apple capability. Note that you will have to regenerate the provisioning profiles for the app ids you edit.