# \[Archive\] tKey SDK not working without

**URL:** <https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [May 24, 2023, 12:33pm UTC](https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748 "2023-05-24T12:33:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![malte](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@malte](https://builder.metamask.io/u/malte)\
**Post date:** [May 24, 2023, 12:33pm UTC](https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748/1 "2023-05-24T12:33:36Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **malte** on 5/24/2023.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

When running my own setup or [GitHub - tkey/tkey-example: Demo app for tkey SDK](https://github.com/tkey/tkey-example/tree/main), I get this error:  
`Please provide a valid web3AuthClientId in constructor`

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/e/ec8b0d6a7f4f6353a3ab6d4944d831f8df57ee91.png)
image1895×851 118 KB
](https://community.web3auth.io/community/community/uploads/default/original/1X/4b99b361b558cdf39f2a8298b11f6dc9a2aae830.png "image")

According to the [docs](https://web3auth.io/docs/sdk/core-kit/tkey/initialize#configuring-service-provider), this should not be needed. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![shahbaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/shahbaz/32/1527_2.png) [@shahbaz](https://builder.metamask.io/u/shahbaz)\
**Post date:** [May 25, 2023, 10:27am UTC](https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748/2 "2023-05-25T10:27:39Z")

</div>

Hey @malte

Please use the latest example from [web3auth-core-kit-examples/tkey-web at main · Web3Auth/web3auth-core-kit-examples · GitHub](https://github.com/Web3Auth/web3auth-core-kit-examples/tree/main/tkey-web)

---

<div class="post-metadata">

**Author:** ![malte](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@malte](https://builder.metamask.io/u/malte)\
**Post date:** [May 25, 2023, 10:45am UTC](https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748/3 "2023-05-25T10:45:51Z")

</div>

Hi @shahbaz, thank you for pointing me in this direction. I have been tinkering with this the tkey-react-redirect-example from this repo for several days. It seems to be impossible to use it without google login. I see the same behavior on [Web3Auth | Tech Demo](https://web3auth.io/tech), which for me does [not work](https://community.web3auth.io/t/https-web3auth-io-tech-not-working/4140/3) when I do not login with google.

As my goal was to explore ways of recovering the private key from key shares without the torus network (scenario: it is unreachable), this does not help.

1. Does tKey only work with social login?
2. Are there any contingency routes for when the torus network or the central metadata database are unavailable?

---

<div class="post-metadata">

**Author:** ![zhen](https://avatars.discourse-cdn.com/v4/letter/z/a88e57/32.png) [@zhen](https://builder.metamask.io/u/zhen)\
**Post date:** [May 29, 2023, 2:47am UTC](https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748/4 "2023-05-29T02:47:25Z")

</div>

Hi there @malte,

1. You can make it work with a different share. Metadata is made redundant across shares that you might start with. Try out initialising the SDK with an input of ShareStore.
2. We have both a legal commitment and technical routes to ensuring exportability, would recommend hopping on a call with our enterprise team so that we could best understand how far you’d like that guarantee.

---

<div class="post-metadata">

**Author:** ![malte](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@malte](https://builder.metamask.io/u/malte)\
**Post date:** [May 31, 2023, 6:58am UTC](https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748/5 "2023-05-31T06:58:56Z")

</div>

@zhen Can you please put me in touch with this enterprise team?

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [October 6, 2023, 4:52am UTC](https://builder.metamask.io/t/archive-tkey-sdk-not-working-without/1748/6 "2023-10-06T04:52:14Z")

</div>

@malte We you able to get in touch with our team. Do you need any further assistance?

Do join our upcoming community call - [Web3Auth Community Call #4 · Zoom · Luma](https://w3a.link/community-call)
