Skip to content

Opt-in forwarding of session start and sign-in provider - #339

Merged
woksin merged 3 commits into
mainfrom
train/authproxy-2026-11-12-e
Nov 12, 2026
Merged

woksin merged 3 commits into
mainfrom
train/authproxy-2026-11-12-e

Conversation

@woksin

@woksin woksin commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Services can now opt in to receiving when the browser session started and which provider the user signed in with, as part of the forwarded identity.

Added

Security

Record the original sign-in time in protected ticket properties and forward it with the recorded provider only for opted-in routed services. Reserve both claims against provider, bearer, and invite spoofing while preserving existing envelopes by default.
@woksin woksin added the minor label Nov 12, 2026
@woksin

woksin commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Folded items

  • l113-327-session-forwarding at 6f7157d9e21b99c85c755cbee7efdbd055b50834; cancelled runs: none

Verification

build: authproxy train-e Release build (2026-11-12T18:43:53.492777Z)
test: authproxy train-e AuthProxy.Specs (2026-11-12T18:45:32.321844Z)
test: authproxy train-e Security+Aspire specs (2026-11-12T18:46:36.340649Z)
test: authproxy train-e Aspire.Specs (2026-11-12T18:46:44.776126Z)

@woksin

woksin commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Reviewer notes

  • Gate on the train head: Release build with warnings as errors, AuthProxy.Specs (6394), Security.Specs and Aspire.Specs (net10 and net11) all passed.
  • Cross-provider deep security review passed with no blocking findings. Advisory: during an on-behalf session the forwarded session start and sign-in provider describe the actor's browser session while the principal is the represented user; worth a follow-up decision if consumers need to distinguish this.
  • The feature is off by default (ForwardSessionContext: false); the forwarded identity signing format is unchanged.

@woksin woksin self-assigned this Nov 12, 2026
@woksin
woksin merged commit 2d8ccda into main Nov 12, 2026
17 of 23 checks passed
@woksin
woksin deleted the train/authproxy-2026-11-12-e branch November 12, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant