Ayush
March 26, 2025, 4:06am
8
Hey, I tried our example for Firebase. It seems to work fine. I tried with multiple versions of the Flutter SDK.
Example: web3auth-pnp-examples/flutter/flutter-firebase-example at main · Web3Auth/web3auth-pnp-examples · GitHub
Can I please get more details
Your Web3Auth Client id
Your Web3Auth Network
Your verifier name
Which login method you are using in the Firebase?
Does it happen on Android, iOS or both?
Ayush
March 26, 2025, 4:24am
10
Can you please try this code snippet for login.
result = await Web3AuthFlutter.login(
LoginParams(
loginProvider: Provider.jwt,
extraLoginOptions: ExtraLoginOptions(
id_token: idToken,
),
),
);
We have removed the domain, as it shouldn’t be required. Also, using the Provider
enum from the SDK. Also, please check once that the ENV variables are also getting picked properly, as it can also be one of the issue.
kapies
March 26, 2025, 4:51am
11
it’s just hanging on the call, no response from the login call.
Ayush
March 26, 2025, 5:22am
12
Do you see any error, it doesn’t execute the login method completely?
kapies
March 26, 2025, 5:26am
13
yeah it just hangs no response coming back
kapies
March 26, 2025, 5:28am
15
Can I enable a flag to debug/verbose?
Ayush
March 26, 2025, 5:31am
16
It’s not possible, since it uses Platform Channel, and we don’t have a flag to enable it. Can you inspect the js element using Safari browser for iOS Simulator, or inspect devices using the Chrome for Emulator, and get the URL that it opened?
I tried with Cyan as well, it doesn’t seem to have any issue for our example.
kapies
March 26, 2025, 5:52am
17
that’s all I was able to grab
reda
March 26, 2025, 9:32am
18
@Ayush Can we message you internally to share the callback URL?
Ayush
March 26, 2025, 2:19pm
19
You can share in the Community portal DM. I’m sending you a message.
Ayush
March 27, 2025, 5:01am
21
Looks like the the JWT you shared doesn’t match with the verifier details you shared. Like iss, aud doesn’t match with the Cyan verifier you shared. Please check the verifier details
kapies
March 27, 2025, 12:40pm
22
Thats for the dev environment
Can you see any logs in your end for our customer id and send it over. This debugging isn’t working.
Ayush
March 27, 2025, 2:28pm
23
I’ll check with team for logs. You can join our Office hours today at 9:00 PM on discord so we can debug. Find more details: Web3Auth Developer Office Hours
kapies
March 27, 2025, 4:00pm
24
eyJjbGll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Uuy_EYKAe3xH28-6geZzhwJpzNhAY20cYWhqCEcLW3ifvjn7xEP7YCyNCVMQ60Q-E3KolLKq9EVvM1bv2pHXQMijDkYRkRUo_9HA2t_LrLJBhGbyZKdWaevk8auZTXZu-NaCGKhCqDuJkB_RBylPL8M6IA
Ayush
April 3, 2025, 8:02am
25
Closing this issue as it was the issue for redirection while we debugged in the Office hours and in discord DM. The local build worked fine after fixing the redirect urls.
Ayush
April 3, 2025, 8:02am
26
Feel free to open another issue if you are facing any other issue.