Comments (2)
@ximxim , it seems to be happening on calling connect function when user is already connected. In upcoming release, modal will not open (and will return provider) if user is already connected but you might also want to show the logged-in screen to user if a user is already connected after initializing modal i.e after calling initModal
function. You can do this by checking if web3auth.provider is available after calling web3auth.initModal function.
from web3auth-web.
Thanks @himanshuchawla009 It turned out to be a problem with how we were consuming the sdk. Firstly, we weren't logging the user out properly. We had to the logout method of the sdk to do that. Secondly, we weren't resuming connection by checking if the provider was already there and connection was already established. Closing this bug.
from web3auth-web.
Related Issues (20)
- Incorrect typed signature in some cases HOT 1
- How to integrate with react-native on Solana? HOT 1
- The EthereumProvider library seems to have a large bundle size HOT 3
- A
- [web3auth/modal] No support for idToken refresh? HOT 1
- SafeAuth wallet fails to connect to any dapp due to websocket connection error (Project ID is missing) (safe.web3auth.com)
- Connect function will occasionally not pop open modal HOT 1
- Invalid Argument Error with `eth_sendRawTransaction` after updating to `@web3auth-mpc/[email protected]` HOT 1
- CommonJS module syntax Error on @web3auth/base openlogin-adapter, ethereum-provider etc HOT 1
- While connecting to Tezos, chainID is mandatory on the code but not on the documentation HOT 1
- useChainId and useNetwork returning the wrong chainId and wrong network after switching networks with useSwitchNetwork when using web3auth wagmi connector
- POLYFILLS - working example for Nuxt 3 with vite HOT 1
- SolanaWallet does not support signing transactions from new @solana/web3.js SDK
- [@web3auth/solana-provider] Invalid annotations in the CJS build of the solana-provider package. "/* @__PURE__ */"
- IdToken decode wallect address error HOT 1
- [PRIVATE KEY] Use PrivateKey as seed HOT 1
- Including @web3auth/modal dependency causes a polyfill error in Angular 15.5 HOT 1
- Whitelabel empty object HOT 1
- EthereumPrivateKeyProvider does not support the eth_requestAccounts method
- No support for Polygon Amoy Testnet HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web3auth-web.