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

Fix clear initiated login #1301

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Conversation

DanutIlie
Copy link
Collaborator

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 3.0.8 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 current login method provider session

Additional changes

No

Contains breaking changes

  • No
  • Yes

Updated CHANGELOG

  • No
  • Yes

Testing

  • User testing
  • Unit tests

@DanutIlie DanutIlie changed the base branch from main to development November 6, 2024 12:14
@DanutIlie DanutIlie merged commit 532e7b7 into development Nov 6, 2024
3 checks passed
@DanutIlie DanutIlie deleted the di/fix/fix-clear-initiated-logins branch November 6, 2024 12:15
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.

2 participants