Forum Xamarin.Forms

Getting (com.apple.AuthenticationServices.AuthorizationError error 1000)

RichyRichy Member ✭✭

Getting (com.apple.AuthenticationServices.AuthorizationError error 1000) on calling AppleSignInAuthenticator.AuthenticateAsync(). I added apple signin key 'com.apple.developer.applesignin' in Entitlements as documented. But i'm getting access token from WebAuthenticator.AuthenticateAsync(authorizationUrl, callbackUrl)

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    From the documentation
    https://developer.apple.com/documentation/authenticationservices/asauthorizationerror/code/unknown
    1000 represents status unknown.
    Can you check if the entitlement.plist has been selected under the corresponding platform:

    Check this by right click project => iOS Bundle Signing
    The entitlement won't be filled by default under the simulator platform.
    Another thing that needs to be checked is: have you enabled the capability on the portal?

  • RichyRichy Member ✭✭

    I already set it in portal, so im getting result from XamarinEssentials.WebAuthenticator.AuthenticateAsync(authorizationUrl, callbackUrl) but not from AppleSignInAuthenticator.AuthenticateAsync(). I am using the iphone itself not the simulator.

  • stesvisstesvis USMember ✭✭✭✭

    I am having this problem too, did you find a solution?

Sign In or Register to comment.