React Native login Apple failed

I am integrating apple sign in by web3auth plug&play and get these errors (screenshot below), it happens in the first try for every apple account, after that, I can login successfully.

here is my code

web3auth.login({
      loginProvider: LOGIN_PROVIDER.APPLE,
      redirectUrl: resolvedRedirectUrl,
      mfaLevel: MFA_LEVELS.NONE,
      curve: SUPPORTED_KEY_CURVES.ED25519,
    })

SDK verision: @web3auth/react-native-sdk: v4.0.0

my web3auth clientid

BF3Zq3fA3vsz31jmXK-r37RZKG-73XPwknwG5NQCVLAeUGTKQ33D4Ej1B75Wq9hJ3fG6q2021W-DukJpDWmJETM

@cuongnguyen Thanks for your post.

Looking at your code the line mfaLevel: MFA_LEVELS.NONE should be mfaLevel: MFALevel.NONE

Is there a way we can test your app? Because from the screenshot, it looks like you might have pressed the back button or refreshed the page.

I import MFA_LEVELS from @web3auth/react-native-sdk, it is just constant

Screenshot 2023-09-05 at 13.37.21

I built my app and push it to Testflight and everyone in my team face that issue the first time they use Apple login function the first time, after close modal and try again, the error is disappear. I just call login function and fill apple account.

I also found many reported issue like this in Auth0 community, hope it related to my issue.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.