[Archive] Error React Native - tKey self-hosted autodetect provider

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by githubdiscussions on 2/14/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.


Hey,

Platform: Latest React Native

Im trying to use the tkey library togheter with @tkey/service-provider-torus. I've set everything up with webstoragemodule and securityQuestionsmodule and also specified serviceProvider with TorusServiceProvider. I've installed all neccasary polyfills/shims etc.

After login with social and trying to initialize tkey and i do get following error:
[Error: Can't autodetect provider for "testnet/"]

Error is thrown from web3-core-requestmanager setProvider.


image



Originally posted by: philipehsing

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/1325