Please provide the following details too when asking for help in this category:
- SDK Version: @tkey/default : ^7.0.0
I am trying to do the following
1.) User logs in with google , which should create a private key with user login as the first share.
2.) The second share should be created and stored in browser storage.
3.) The third share should be a password aka a security question
4.) The fourth share should be a mnemonic.
I am trying to run the tkey/react popup example and facing the following issue.
1.) When user logs in , it creates and stores a share in browser storage. I don’t see the code for doing this. Does the following code do so ?
const webShare=await (tKey.modules.webStorage as any).inputShareFromWebStorage(); // 2/2 flow
2.) How to configure the threshhold value for the shares. For example if i want that i should have 3 out of 4 created shares, how should i configure and and where in the code should i configure it.
3.) Even when i delete the browser storage share and again login , it still shows requiredkeys as 0. So how is it getting the second share ?
4.) Is the tkey/sdk storing all shares in the metadata layer ? if yes , does that not defeat the purpose of creating shares as one who gets access to the social login get access to all other shares?
5.) Can we do the login using sms and otp with this flow ?