I have several Ionic 3 apps that I’m starting to get worried about. As you know, Apple is saying April 2020 will be the deadline to support “Sign in with Apple ID”. Is there a solution in-place?
I can’t seem to find much documentation on it. Thank you in advance.
I have my app rejected by Apple because it has Google and Facebook logins and does not have Apple login. Tried this plugin but I am stuck with an error highlighting SignInWithApple on the function cordova.plugins.SignInWithApple.signin( ) saying “Property ‘SignInWithApple’ does not exist on type ‘CordovaPlugins’” I have declared cordova: any on the top of the page. Please assist.
Has anyone had success with passing the result to Firebase for authentication?
The only method they currently offer is a popup or native with a nonce passed to the credential as far as I can tell…
it’s working but i want to call my login data service under success
cordova.plugins.SignInWithApple.signin(
{ requestedScopes: [0, 1] },
function(succ){
console.log('succ');
console.log(succ);
this.DService.AuthUser(succ).then((res :any) => { /* this is not working under this function */
console.log('Result');
console.log(res);
});
});
it’s giving me following error
ERROR: Unhandled Promise rejection: null is not an object (evaluating ‘this.DService’) ; Zone: ; Task: Promise.then ; Value: TypeError: null is not an object (evaluating ‘this.DService’)
my implementation for login with Apple ID works well with me ionic 3 using the fat function to call API out of scope succ function stackoverflow solution.
but what about getting information in backend ny authorization code ? i’m stuck searching 3 days
i followed this guid to generate client and secret id for my app identfier
now when i try to get more information in backend by authorization code i’m getting error invalid_grant https://appleid.apple.com/auth/token
client_id
client_secret
code
grant_type authorization_code