hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
68 stars 44 forks source link

Social Sign-in in Cosmos communities creates EVM address #8293

Open timolegros opened 4 months ago

timolegros commented 4 months ago

Describe the bug

If you use a social sign in method in a Cosmos community, an EVM instead of a Cosmos address is created. This means that new users can't sign in with Magic and join a Cosmos community without first linking/signing in with Keplr or Leap.

Initial conditions

In production - release v1.5.1-2

jnaviask commented 4 months ago

@timolegros it should be creating both, with EVM address as canonical

timolegros commented 4 months ago

@timolegros it should be creating both, with EVM address as canonical

Alright so I just tested 2 flows:

  1. Signed-in with existing Magic user account (Google account I have used before) from /osmosis -> this left me signed out with no account and is probably related to #8495 i.e. EVM Magic != Cosmos Magic and our system can't make the link between both even if you use the same social sign in.
  2. Created an account with Magic (same Google account as above) this seems to have left me in some weird limbo state with an injective address(?) and I still can't join the osmosis community.