feat(auth): add account discovery during new-user onboarding - #6879
Merged
ErickRDev merged 1 commit intoAug 4, 2026
Merged
Conversation
Contributor
Preview Deploy
|
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 16 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
July 23, 2026 15:25
8a633cd to
150c056
Compare
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
July 23, 2026 15:33
150c056 to
deec15a
Compare
Base automatically changed from
erickr/NAN-5056/request-to-join-on-signup
to
master
July 23, 2026 16:34
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
July 24, 2026 14:54
deec15a to
92692b9
Compare
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
July 24, 2026 18:57
92692b9 to
16acda9
Compare
ErickRDev
marked this pull request as ready for review
July 24, 2026 21:04
Contributor
Author
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
July 28, 2026 21:45
16acda9 to
bc36c5c
Compare
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
July 31, 2026 22:37
bc36c5c to
2f96730
Compare
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
July 31, 2026 22:55
2f96730 to
fdf52bd
Compare
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
August 3, 2026 12:24
fdf52bd to
9d5c123
Compare
agusayerza
reviewed
Aug 3, 2026
agusayerza
approved these changes
Aug 3, 2026
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
August 3, 2026 22:06
9d5c123 to
b21d6bd
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Aug 4, 2026
Persist account-discovery eligibility when a password user confirms their email, or when managed auth creates a new non-invited user. After sign-in, users without an explicit safe return path are directed to account discovery. MFA preserves that server-selected destination. The first discovery request atomically consumes eligibility and caches the same-domain account recommendation in the session, keeping the recommended account ID server-side for follow-up actions. Users without a match continue to the existing onboarding flow.
ErickRDev
force-pushed
the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
from
August 4, 2026 12:13
b21d6bd to
649f483
Compare
ErickRDev
deleted the
erickr/NAN-6357/add-account-discovery-onboarding-flow
branch
August 4, 2026 12:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a short-lived, server-side account-discovery marker for newly created password and managed-auth users. The discovery flow finds and caches the best same-domain account recommendation while exposing only its name to the client.
Keep marker persistence best-effort so discovery failures never block signup. No-match, rejection, and discovery-error paths fall back to the existing hear-about-us onboarding guard.