please help when ever am calling this function this error pop up
const credentialState = await appleAuth.getCredentialStateForUser(
user
);
Open Xcode and add Sign In With Apple in ( Signing & Capabilities )
getting same error
[Error: The operation couldn鈥檛 be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.)]
"Sign In With Apple" enabled in Xcode
I had the same issue, and I have solved it by adding the capability to Xcode
press on your project name in xcode,
then press on the tab 'Signup & capabilities',
then press '+ Capability' and add 'sign up with apple'
This appears to be project setup error. Discussion can continue but it is not actionable for the module
Tried everything, cleaned project, reinstalled all dependencies and still same...



const appleAuthRequestResponse = await appleAuth.performRequest({
requestedOperation: AppleAuthRequestOperation.LOGIN,
requestedScopes: [AppleAuthRequestScope.EMAIL, AppleAuthRequestScope.FULL_NAME],
});
console.dir(appleAuthRequestResponse);
const credentialState = await appleAuth.getCredentialStateForUser(appleAuthRequestResponse.user);
console.dir(credentialState);
Most helpful comment
I had the same issue, and I have solved it by adding the capability to Xcode
press on your project name in xcode,
then press on the tab 'Signup & capabilities',
then press '+ Capability' and add 'sign up with apple'