-
Notifications
You must be signed in to change notification settings - Fork 7
Fixed Account federation after recovering wallet from storage #279
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
Conversation
BellringerQuinn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks Andy!
Do you think we can remove this section on re-using the login panel for federation?
https://docs.sequence.xyz/sdk/unity/onboard/authentication/federated-accounts#re-using-the-default-loginpanel
It seems like this is no longer relevant with these changes? Is that correct?
...ence-Unity/Sequence/SequenceFrontend/Scripts/UI/Boilerplates/Common/BoilerplateController.cs
Outdated
Show resolved
Hide resolved
BellringerQuinn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet! Working now!
On master, account federation fails after recovering a wallet from storage. When recovering the session, the call to SetupAuthenticator creates a new _sessionWallet and overwrites the sessionId, because TryToLoginWithStoredSessionWallet is not updating the _connectedWalletAddress value (first if-expression inside SetupAuthenticator equals to true - which creates a new _sessionWallet)
Version Increment
Please ensure you have incremented the package version in the package.json as necessary.
Docs Checklist
Please ensure you have addressed documentation updates if needed as part of this PR: