I implement "Sign In With Apple".
After having carried out AppleID.auth.signIn(), I can't error handling when touch id or face id starts and pushed the cancel button.
I cannot cancel the Loading indication in the "Sign In With Apple" button.
usePopup: true
↓
//Listen for authorization failures
document.addEventListener('AppleIDSignInOnFailure', (error) => {
//handle error.
});
error handling is possible here, but certification UI does not come out with an actual machine of iPhone.
usePopup: false is there the method that can handle an error in this?
It would be greatly appreciated if you could explain the details.
prototype
https://b3ep5.csb.app/
source code
https://codesandbox.io/s/sign-in-with-apple-b3ep5
Aucun commentaire:
Enregistrer un commentaire