Closed YZhenY closed 4 years ago
hey @YZhenY I'm testing this at the moment, but can't get to run tours on the example. I'm adding torus: {}
to the list of providers but nothing happens
yo @crisgarner, with the examples, the master branch doesn't pop up the model. i didnt have the time to dive into why, perhaps i could get some help there
if you npm pack
this branch and install it on a blank app it works as intended
Hey @YZhenY it works fine! there is just an issue when you hit disconnect, Torus keeps connected.
Thanks for checking up @crisgarner - facing an issue with utilizing the Torus
object with the logout function. Whilst we can include the logout feature on the provider, do you think we could find some way to expose the functions somehow other than tossing it on the provider?
For example, Torus provides an email resolver to public keys for dapps to use via its object. Would love to expose this
Maybe this PR is the one you need? https://github.com/web3connect/web3connect/pull/65
That would work!
This PR should wait for the refactor on #79
sure that makes sense @pedrouid and @crisgarner, whats the timeline to getting them merged
Hi @YZhenY, I merged it yesterday and already published it with release beta.22.
I recommend using a PNG of the Google icon as it looks better in hover state.
Also I find the wording confusing. I would just say "Google" as the main title and then use "Connect to (/with) your Google account via (/using) Torus" as a subtitle.
I agree with @lukasschor feedback, also @YZhenY wouldn't it be possible to allow Torus integration to have multiple social logins. Why does it need to be "via Google"? Couldn't we provide a Torus integration which then displays an option to select different social logins?
thanks for the feedback @lukasschor @pedrouid. We'd always go for the most intuitive copywriting, I've also adjusted the png.
With regards to multiple logins @pedrouid, it is possible to support additional logins, but the flows aren't implemented in production just yet. Will adjust the integration when it is.
Since #65 isn't merged yet, I've defaulted the UI to be hidden through web connect. Once it is we can utilize the cleanup flow on the torus object.
Let me know anything else I can do @pedrouid @crisgarner to get this merged. Have people keen to use Web3Connect and Torus!
Any updates here guys? Keen to push this forward
@crisgarner @pedrouid
@YZhenY tested everything and works fine! Thanks, merged now
Torus integration to web3Connect. PR includes:
- Added provider/connector
- Included logo
- Tested with
npm pack
- Added Torus to readme
- Adjusted webpack versioning for
npm link
Torus integration to web3Connect. PR includes:
npm pack
npm link