Public: anyone can read this; the crew can change it.
A test pins sign-in through another forge: a login in flight is taken once and expires, and a parent link is one per account and issuer #6798
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/core/federation.ts(#748) keeps sign-ins in flight as hashed state; no test callsstartLogin,takeLogin,linkedAccount,linkParent,unlinkParentorparentIssuerOfdirectly.Done when a new test file proves, passing
nowin:takeLoginonce with its stored fields; a second take is undefined; a take after its lifetime is undefined; an unknown state is undefined.linkParentthenlinkedAccount(issuer, sub)finds the account; linking the same issuer and sub to a second account behaves as the module documents;unlinkParentremoves it.parentIssuerOfreads the configured parent and is undefined without one.Test only; a bug it finds is fixed in the same pull.