Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update skip method to clear only initiated login state #1298

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

DanutIlie
Copy link
Collaborator

@DanutIlie DanutIlie commented Nov 4, 2024

Issue

When logging into another with Web Wallet cross window multiple tabs where opened if another wallet tab is already open

Reproduce

Open a wallet tab and in parallel open a dapp and try login with web wallet cross window
Issue exists on version 2.40.11 of sdk-dapp.

Root cause

When the provider is already initialised the clearInitiatedLogins tries to close all other logins providers sessions instead of clearing the cross window session

Fix

Change clearInitiatedLogins to only clear cross window provider session

Additional changes

No

Contains breaking changes

No

  • No
  • Yes

Updated CHANGELOG

  • No
  • Yes

Testing

  • User testing
  • Unit tests

andreigiura
andreigiura previously approved these changes Nov 4, 2024
@DanutIlie DanutIlie changed the base branch from main to development November 4, 2024 14:15
@DanutIlie DanutIlie merged commit 3d72b71 into development Nov 4, 2024
1 check passed
@DanutIlie DanutIlie deleted the di/fix/multiple-tabs-on-cross-window branch November 4, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants