I keep receiving this error even when I follow the example on github. web3auth-pnp-examples/flutter/flutter-firebase-example/lib/main.dart at main · Web3Auth/web3auth-pnp-examples · GitHub
Thanks for reaching out! Let’s get this sorted for you.
It looks like you’re using the Plug and Play SDK with Flutter for Firebase JWT authentication. From your message, here’s what we have:
- SDK Details: Plug n Play
- Platform: Flutter
- Issue: Receiving an error while following the example on GitHub
- Screenshot Provided: Yes
- Example Link: GitHub Flutter Firebase Example
Could you provide:
- Your Web3Auth initialization and login code snippets?
- Any console logs or specific error messages from the Flutter console?
This will help us understand what’s going wrong.
This response was generated by the Web3Auth Bot, and a member of the Web3Auth team will follow up with you shortly.
Hey @jyles I’ll check the example out, and get back to you. Can you share the whole error stack which you see in the screen?
Hey, I tried the example, it’s working fine for me. Can you share the detail error stack to help us debug. Also, have you done changes to the example?
Please share the code changes you did, looks like you had updated the codebase, but haven’t done the correct configuration.
The changes made were all in the initPlatformState():
- clientId - for our project
- verifier - custom verifier name
- redirectURL for android - w3a://com.acronym.dashboard/auth
Can you please share the code of login method, and Firebase configuration?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.