Files
warmbly/internal
Matthew Meszaros d668202708 fix(store): refuse a sign-in link signed in as another account
A store sign-in link is for one purchased mailbox, but any account that signed in
through it was connected: Inboxlogy signed jordan@stagovahq.com's link in as the
tenant's admin@stagovahqcom.onmicrosoft.com, which connected that account into the
customer's workspace, used up the link ("This link is complete") and never reached
GraphKit, so the purchase stayed unconnected until the link neared expiry.

- connectlink.PartnerLinks gains RequiredAddress: store links require their mailbox;
  partner API links keep a pre-fill-only hint ("").
- email.OAuthConnectWithCodeAs checks the signed-in address right after the owner
  lookup and refuses another account (signed_in_as_other) before storing anything,
  so the slot is released and the link stays usable. The connect page shows
  "You signed in to Microsoft as X, but this link is for Y ...".
2026-11-27 10:24:30 +01:00
..