concurrently login with new user email (as of latest tkey-core sdk (v9.1.1), the logins will be success without any errors)
log into another coreKit instance with the email used above
it will throw an error which indicates factor key is not present (note: with manualSync:false, it will throw a different error, COREKIT_STATUS.REQUIRED_SHARE which is caused by factor not present)
A little bit more details about the issues
By following the trace, I found that the error is located in coreKit setupTkey method:
however, there's no metadata related to the hashedFactorKey we created above, hence skipping all the later steps and methods including the one which set the factor key
the above will result in unable to login when using manualSync:false and factor not present when using manualSync:true
SDK Versions
Steps to reproduce
tkey-core sdk (v9.1.1)
, the logins will be success without any errors)factor key is not present
(note: withmanualSync:false
, it will throw a different error,COREKIT_STATUS.REQUIRED_SHARE
which is caused by factor not present)A little bit more details about the issues
By following the trace, I found that the error is located in coreKit
setupTkey
method:OAuthKey
we got from the loginhashedFactorKey
and validate it by checking the metadata againhashedFactorKey
we created above, hence skipping all the later steps and methods including the one which set thefactor key
unable to login
when usingmanualSync:false
andfactor not present
when usingmanualSync:true