Skip to content

feat(session): add the session exchange contract - #149

Merged
Bccorb merged 2 commits into
mainfrom
feat/session-exchange-types
Nov 5, 2026
Merged

Bccorb merged 2 commits into
mainfrom
feat/session-exchange-types

Conversation

@Bccorb

@Bccorb Bccorb commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

The contract for session exchange (ADR 0003, fells-code/seamless-auth-api#544). Additive.

  • sessionExchangeEnabled on applications, with its eligibility rule (first-party public native clients only).
  • Origin fields on SessionSchema: parent session, exchange client and grant type.
  • Request, response and error schemas for POST /sessions/exchange.
  • The session:exchange scope and token type constants.
  • Three auth events for the exchange.

This has to merge and release first, presumably as 0.36.0: the API branch feat/session-exchange cannot pass CI until it can depend on it. After release, every repo's check:types-current will fail until its pin moves, as happened with 0.35.0.

1692ad2 adds the tests alone. 540 tests pass.

@Bccorb
Bccorb merged commit c518a44 into main Nov 5, 2026
5 checks passed
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.

1 participant