I have this js code:
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?
Code Block 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?