You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2fb7e81
Browse filesBrowse the repository at this point in the historyBrowse files
feat(auth): map one verified email to one org, expose member id on seam
First OIDC login now links a new provider identity into an org already owned by the login's verified email instead of minting a duplicate org-of-one, so the same human via GitHub and Google keeps a single org and plan. The target org is chosen deterministically (paid over free, then oldest); only a genuinely new email creates a fresh org.
githubIdentity is tightened to accept only a primary+verified address: the unverified public-profile fallback is removed and a failed emails lookup is now fatal, so cross-provider account linking never runs on an unverified email.
Adds RouteContext.SessionMemberID to the extension seam (mirroring SessionOrg) so a composing build can resolve the caller's own member row without importing internal auth.
See docs/adr/0024-one-verified-email-one-org.md.
0 commit comments