Repository navigation
tests/profiles (TECH-683): cross OAuth sign-in across two PostgreSQL nodes - #18
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Adds a cross-node-signin stage to the two-node profile. Email entry, OTP verify, account choice and consent alternate nodes, each proven by the serving boot ID; a tampered choice is refused on both nodes. The receipt check fails if the stage is missing or ran on one node. The shared-email fixture now accepts a PostgreSQL database config.
65ab740 to
878f267
Compare
|



Refs TECH-683.
Problem
TECH-683 requires OTP, session and consent to work when successive requests reach different PostgreSQL-backed Entryway nodes. The two-node profile already crossed nodes for OTP and sessions, but the account chooser, consent and full OAuth sign-in only ran on one node.
Fix
cross-node-signinstage in the two-node PostgreSQL profile. Email entry, code verify, account choice and consent alternate nodes, and each step must be served by the expected node's boot ID (x-entryway-instance).assertOAuthSubjectAndWritemoves tooauth-client.mjsso both specs share it.

Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
Adds a shared-email OAuth sign-in that alternates between two PostgreSQL-backed nodes.
No actionable issues found. Live profile tests were not run.
Diagram
Reviews (1) · Last reviewed commit: "tests/profiles: cross TECH-683 OAuth sig..." · Reviewed by Greptile
Summary by CodeRabbit