Web3auth_flutter , authentication works on some android devices ( the whole flow and redirect) but dosen't work on other android devices

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

  • SDK Version:3.24.0
  • Platform: flutter
  • Browser Console Screenshots:
  • If the issue is related to Custom Authentication, please include the following information (optional):
    • Verifier Name:
    • JWKS Endpoint:
    • Sample idToken (JWT):

Also, kindly provide the Web3Auth initialization and login code snippet below. This will help us better understand your issue and provide you with the necessary assistance.
Works on this device

Dosen’t work on this

Hi Mubarak,

Thank you for reaching out! I understand you’re facing an issue with the Web3Auth Flutter SDK, where authentication works on some Android devices but not on others. Let’s gather the necessary details to assist you effectively.

Here’s what we need:

  1. SDK Version: Please specify the version of the Web3Auth SDK you are using.
  2. Platform: Confirm that you are using Android.
  3. Web3Auth Initialization & Login Code Snippet: Share the code snippet where you initialize Web3Auth and handle login.
  4. Browser Console Screenshots: If you have any, please provide screenshots of the browser console that show errors or issues during authentication.
  5. Custom Authentication Details (if applicable):
    • Verifier Name
    • JWKS Endpoint
    • Sample idToken (JWT)

I’ve noticed you shared some images. These might have insights that could help us troubleshoot the issue.

Once I have this information, I’ll pass it along to our support team to get back to you with a solution. Looking forward to your response!

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.

This issue still persist

Hey @mubarakshuaib3 can you please share the details of which SDK version you are using, along with which SDK you are using?

Can you please share the initialization code along with login code? Also, possible to share the recording of the issue?

I’m using the core kit ,latest version:web3auth_flutter: 5.0.4


Video recording of the issue on a device

Works on this device:

From the code it looks fine, and since it works on the some device and doesn’t it doesn’t redirect url configuration issue. Any reason why are you using the staging env? You should use the production one, that env for internal testing.

Can you switch to production env and confirm if you are able to reproduce the issue? The default buildEnv is production, so you can remove the line no 5, to use production.