refactor(rainbowkit-wallets): multiple providers with link#224
Merged
elboletaire merged 5 commits intomainfrom Jan 29, 2026
Merged
refactor(rainbowkit-wallets): multiple providers with link#224elboletaire merged 5 commits intomainfrom
elboletaire merged 5 commits intomainfrom
Conversation
13a6ff3 to
5b4fdd4
Compare
5b4fdd4 to
f82f25a
Compare
8021631 to
3a8a7aa
Compare
3a8a7aa to
7b7121c
Compare
7b7121c to
4887c1f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
depends on vocdoni/saas-backend#315
This pull request introduces support for linking SaaS OAuth accounts without persisting authentication tokens or wallet data, and adds comprehensive tests for the new and existing OAuth flows. It refactors the wallet creation process to allow control over persistence and updates the OAuth connector to support both login and account linking modes. The most important changes are grouped below:
SaaS OAuth Linking Functionality
linkSaasOAuthutility that allows linking a SaaS OAuth account without persisting authentication tokens or wallet data, and ensures the proper API endpoint and headers are used. (linkSaasOAuth.ts,index.ts) [1] [2]linkSaasOAuth.test.ts)OAuth Connector Enhancements
saasOauthConnectorto support both 'login' and 'link' modes, with dynamic endpoint selection and conditional token persistence. Added options for mode and token retrieval. (saasOauthConnector.ts) [1] [2] [3]saasOauthConnector.test.ts)Wallet Persistence Control
localStorageWallet.createWalletFromDataand dependent flows to accept apersistoption, allowing wallet creation without saving to local storage (used in linking scenarios). (localStorageWallet.ts,saasOauthWallet.tsx,localStorageWallet.test.ts) [1] [2] [3] [4]