I have developed an application and use the Web3auth for the login.
It’s working in the Chrome browser but doesn’t work in the Firefox.
I have the same problem as this link:
While testing on test environment there is no problem at Firefox. However when we test it on production at cyan network with google verifier on Firefox, page stucks and doesnt continue. There is a warning at console as :
[Vue warn]: Error in mounted hook (Promise/async): “Error: Please provide a valid web3AuthClientId in constructor”
But system is working perfectly at Chrome.
This is my config:
new Web3Auth({
clientId: clientId,
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: "0xA4B1", // hex of 42161
rpcTarget: "https://rpc.ankr.com/arbitrum",
blockExplorer: "https://explorer.arbitrum.io", // EVM chain's Blockexplorer
displayName: 'Arbitrum One',
tickerName: 'Ethereum',
decimals: 18,
ticker: 'ETH',
},
web3AuthNetwork: "sapphire_devnet",
uiConfig: {
appName: '',
appUrl: '',
defaultLanguage: "en",
loginGridCol: 2,
logoLight: "../assets/logo/logo.png" // Your App Logo Here
},
});
vjgee
November 21, 2023, 5:32am
3
@teh.wolf73 Could you check the parameter in the uiconfig logoLight: "../assets/logo/logo.png"
fixed with the absolute url like https://web3auth.io/images/web3auth-logo.svg
I have done your suggestion, but nothing happened.
I mean I used the absolute url, but nothing happened.
The following steps are the walkthrough of this issue.
1- Whitelist the Firefox add-on ID in web3auth dashboard
2- Open the extension in a new tab of the firefox (not popup)
3- Open web3auth modal
4- Select Facebook to sign in
5- The web3auth modal opened and asked for a Facebook username and password
6- After entering the Facebook username and password, the new page of web3auth opens and at the center, we can see this message 'Please do not reload the page" (see attached screenshot). But the application got stock in this page and the loading won’t finish(see attached screenshot).
vjgee
December 12, 2023, 5:58am
7
Can you share the console logs please?
Any update regarding the last message?
vjgee
December 18, 2023, 11:14am
10
We are reviewing and will get back when there is an update.
Thanks for your patience.
Appreciate it.
We’re waiting for the update for the Firefox issue as our project needs this part.
Thank you very much.
vjgee
December 20, 2023, 5:18pm
12
@teh.wolf73 Can you share the entire absolute url for the logo “…/assets/logo/logo.png”
This is my project directory tree.
My entire absolute URL is this:
https://my-website-name.com/earn/assets/logo/logo-thanx.png
Note: Also, I removed the “logoLight” parameter from the web3auth class argument object, but nothing happened!
Any update regarding this issue?
vjgee
January 2, 2024, 5:19am
15
Our team are looking into this and will get back with an update.
Any update regarding this issue?
vjgee
January 16, 2024, 4:47am
17
Is this URL able to give the image? If so, it won’t be any issue.
Dynamically if you are trying to call the URL, please use string interpolation.
It shows the image perfectly without issue.
Do you mean if I don’t use string interpolation, then a problem will happen?
vjgee
January 22, 2024, 5:30am
19
If you are dynamically calling the URL, use string interpolation otherwise not needed.