AmplicaLabs / social-app-template

Social Application Template that uses Gateway Services
Apache License 2.0
0 stars 2 forks source link

[bug] SIWF Error Conditions should be handled when switching between wallets #62

Open mattheworris opened 1 month ago

mattheworris commented 1 month ago

As a developer, I want to switch between identities in different wallets.

Steps to repeat the error:

  1. Create and login with a user in Talisman wallet.
  2. Sign out or otherwise reset your development system.
  3. Create and login with a user in the Polkadot wallet.
  4. Sign out or otherwise reset your development system.
  5. Attempt to login with the original Talisman wallet: observe that even though you have selected an address from Talisman, SIWF sends the signing request to the last know wallet, in this case Polkadot. The reverse is also true, whenever switching wallets, the first sign is incorrectly routed to the wrong wallet.

Acceptance Criteria

JoeCap08055 commented 6 days ago

@mattheworris is this an SAT bug, or a SIWF bug?

mattheworris commented 6 days ago

@mattheworris is this an SAT bug, or a SIWF bug?

I'm not sure, guessing it's SIWF, as the calls from SAT seem pretty straightforward, but I didn't fault isolate yet.

JoeCap08055 commented 6 days ago

I'm not able to reproduce, or else I'm not following the steps correctly. Every time I sign out/sign in, I get a signing request that corresponds to the wallet I selected.