I have this js code:
document.addEventListener('AppleIDSignInOnSuccess', (data) = {
//handle successful response
console.log(data["detail"].authorization.id_token)
response = parseJwt(data["detail"].authorization.id_token)
email = response["email"]
console.log(email)
loginWithEmail(email)
// console.log("APPLE SIGN IN SUCCESSFFUL");
});
//Listen for AppleId authorization failures
document.addEventListener('AppleIDSignInOnFailure', (error) = {
//handle error.
alert(JSON.stringify(error))
console.log("APPLE SIGN IN UNSUCCESSFFUL");
});
And it just stopped working. Now every time I sign in I get "APPLE SIGN IN UNSUCCESSFFUL" and the error is {"isTrusted":false}. What are ways around this?
Post
Replies
Boosts
Views
Activity
I have Sign In With Apple working on my website and on my production stage app, but the returned userId's are different. What are possible reasons this is happening?