Web-first login + restore OAuth key on session load/save (v2.3.0) - #106
Merged
Conversation
Sync generated models and clients to API 4.26.5. Removes the unused I0A enum, which was not referenced by any operation.
- Make the browser login endpoint the primary path; the app login is a fallback (device attestation rejects SDK-issued device UUIDs). Gate the fallback on a plain unauthorized only; surface 2FA / non-401 / 2xx decode failures directly. The web login now returns the same typed error (with raw body) as the generated clients. - Fix load session not restoring the establishing OAuth key: a web session loaded straight from disk refreshed with the app key and 401'd. Consolidate activation so the cached-login and load-session paths never diverge. - Add public load/save session to TypeScript and Python (parity with Go / Rust). - Bump version to 2.3.0 across Go / TypeScript / Python / Rust.
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.
Summary
Unauthorized; 2FA, other typed errors, and 2xx-decode failures surface directly. The web login now returns the same typed error (with raw body) as the generated clients.loadSession/saveSessionin TypeScript and Python (parity with Go / Rust).I0Aenum (not referenced by any operation).Version bumped to 2.3.0 across Go / TypeScript / Python / Rust. Contract details in
PORTING.md§6.2.All four language test suites pass.