Update AuthSDK with new AuthSessionManager SDK#380
Merged
chaitanyapotti merged 6 commits intomasterfrom Feb 25, 2026
Merged
Conversation
chaitanyapotti
approved these changes
Feb 25, 2026
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.
Motivation and Context
Jira Link: https://consensyssoftware.atlassian.net/browse/W3APD-5382
Description
@toruslabs/session-manager-web.How has this been tested?
Devrels tested this.
Screenshots (if appropriate):
Types of changes
Checklist:
Note
Medium Risk
Touches core login/session/token handling and introduces a new iframe login path, so regressions could affect authentication flows across redirect/popup/iframe modes.
Overview
Updates the Auth SDK to rely on the new authorization APIs for session/token lifecycle: redirect results now hydrate the session via
AuthSessionManager.setTokens()and ongoing state is derived fromauthorize()/rehydration rather than ad-hoc storage.Adds an iframe-based login mode (
SDK_MODE.IFRAME) backed by the newAuthProvider, which embeds the Auth service/frameand completes login viapostMessageevents (LOGIN_INITIATED/LOGIN_SUCCESS/etc.) with explicit cleanup.Modernizes popup flows by switching to
SecurePubSub-based session result delivery (configurablestorageServerUrl/sessionSocketUrl) and adjusts the Vue example to use the updatedAuthAPIs/options (MFA settings, wallet key, curve selection, include-user-data-in-token).Written by Cursor Bugbot for commit 1f06d67. This will update automatically on new commits. Configure here.