Closed AyushBherwani1998 closed 5 months ago
Fixed with v3-alpha2 release. Tested out with core-kit implicit examples
Just noticed an error that comes when we try to login using loginWithOauth. It comes from brief moment. The other thing I noticed is that canceling the operations takes a lot of time to redirect. Both can be observed in the screen recording below.
{
name: CoreKitError,
code: 1000,
Undefined cannot read the properties of null (reading 'metadata')
}
https://github.com/Web3Auth/mpc-core-kit/assets/34301187/d60d8e02-83e7-46ce-a521-9925459e0645
This is fixed in https://github.com/tkey/tkey/pull/282. Still need to release tkey and update here.
Updated tkey in v3 branch with the fix. @AyushBherwani1998
Fix works fine @himanshuchawla009
Fixed in 8196086cfae9adf265d33496533522be86eaf92d
Description
When trying to log in using loginWithOauth, the Web3AuthCoreKit instance throws errors.
Reproducible Example
https://github.com/Web3Auth/web3auth-core-kit-examples/tree/mpc-core-kit-v3/mpc-core-kit-web/implicit-flow-examples/mpc-core-kit-popup-flow-example
I tried multiple accounts, but still same issue. I tried to reset my older account which was asking for a recovery factor, it reset my account successfully but then I was not able to log in.
Recording
https://github.com/Web3Auth/mpc-core-kit/assets/34301187/1a7e11e8-611f-4c6f-a542-6a703fa14a03
Error
Console: