Login method throws exceptino

When asking for help in this category, please make sure to provide the following details:

  • SDK Version: ^5.0.3
  • Platform: Android

We are facing exception from login Method with social and jwt

This is the message thrown

PlatformException(error, java.util.concurrent.ExecutionException: java.lang.Exception: Runtime Error, java.util.concurrent.ExecutionException: java.lang.Exception: Runtime Error, null)

redirectUrl = “fpex://it.scalingparrots.fpex/auth”
clientId = BMRKhBSogkopaR8P2c2p7DkXsKZZHj5Jvvmdh78HXd8dWn5ygRAzrTHkqYbrlHzLXhv5R70RHD1A8SkxkxH1O-0

network: Sapphire_mainnet

For any additional info, let me know

Regards

Gabriel

Hello Gabriel,

Thank you for reaching out about the issue you’re experiencing! I’ve noted the details you’ve provided, which will be helpful for our support team to assist you effectively:

  • SDK Details: PnP Flutter SDK
  • SDK Version: ^5.0.3
  • Platform: Android
  • Error Message: PlatformException(error, java.util.concurrent.ExecutionException: java.lang.Exception: Runtime Error)

You’ve mentioned that the issue occurs when using the login method with social and JWT, and I can see you have provided additional context like redirectUrl, clientId, and the network.

If you could provide the Web3Auth initialization and login code snippets you’re using, as well as any screenshots from the browser console that might help diagnose the problem, that would be great. This information can help us zero in on the issue more effectively.

Looking forward to your response!

Best regards,
[Your Support Bot Name]

Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.

Here the log of android studio

D/EGL_emulation( 7062): app_time_stats: avg=51.06ms min=1.15ms max=836.28ms count=26
D/com.web3auth.flutter.web3auth_flutter.Web3AuthFlutterPlugin( 7062): #init
D/com.web3auth.flutter.web3auth_flutter.Web3AuthFlutterPlugin( 7062): #initialize
I/flutter ( 7062): PlatformException(error, java.util.concurrent.ExecutionException: java.lang.Exception: Runtime Error, java.util.concurrent.ExecutionException: java.lang.Exception: Runtime Error, null)
I/flutter ( 7062): switched to: 1

Especially the exception is thrown from
await Web3AuthFlutter.initialize(); (see screenshot)