Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/responders/user-responders.js
Show First 20 Lines • Show All 565 Lines • ▼ Show 20 Lines | const siweAccountCreationRequest = { | ||||
socialProof, | socialProof, | ||||
}; | }; | ||||
userID = await processSIWEAccountCreation( | userID = await processSIWEAccountCreation( | ||||
viewer, | viewer, | ||||
siweAccountCreationRequest, | siweAccountCreationRequest, | ||||
); | ); | ||||
} | } | ||||
// 9. Try to double-write SIWE account info to the Identity service | // 9. Try to double-write SIWE account info to the Identity service. | ||||
const userIDCopy = userID; | const userIDCopy = userID; | ||||
if (identityKeys && signedIdentityKeysBlob) { | if (identityKeys && signedIdentityKeysBlob) { | ||||
const identityKeysCopy = identityKeys; | const identityKeysCopy = identityKeys; | ||||
handleAsyncPromise( | handleAsyncPromise( | ||||
(async () => { | (async () => { | ||||
const rustAPI = await getRustAPI(); | const rustAPI = await getRustAPI(); | ||||
rustAPI.loginUserWallet( | rustAPI.loginUserWallet( | ||||
userIDCopy, | userIDCopy, | ||||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |